fix(infra): simplify transaction processing validation by removing removed transactions check
This commit is contained in:
@@ -86,7 +86,6 @@ internal sealed class PlaidTransactionProcessor : IPlaidTransactionProcessor
|
||||
);
|
||||
|
||||
return numAdded == syncResponse.Added.Count &&
|
||||
numModified == syncResponse.Modified.Count &&
|
||||
numRemoved == syncResponse.Removed.Count;
|
||||
numModified == syncResponse.Modified.Count;
|
||||
}
|
||||
}
|
||||
@@ -23,7 +23,7 @@ public class PlaidTransactionProcessorTests
|
||||
[InlineData(1, 1, 1, true)]
|
||||
[InlineData(0, 1, 1, false)]
|
||||
[InlineData(1, 0, 1, false)]
|
||||
[InlineData(1, 1, 0, false)]
|
||||
[InlineData(1, 1, 0, true)]
|
||||
public async Task ProcessAsync_WhenCalledAndTransactionsAreHandled_ItShouldReturnCorrectResult(
|
||||
int numAdded,
|
||||
int numModified,
|
||||
|
||||
Reference in New Issue
Block a user