Unit test improvements.
This commit is contained in:
1 parent
fe9b68dba0
commit
8145ff1054
22 files changed
+283
-160
No files matched your search
@@ -6,7 +6,7 @@ namespace FinancialApi.Infrastructure;
|
||||
|
||||
public class ReversalQuery(AccountDbContext db) : IReversalQuery
|
||||
{
|
||||
public async Task<(JournalEntry?, List<Account>?)> GetReversalDataAsync(Guid journalEntryId)
|
||||
public async Task<(BalancedJournalEntry?, List<Account>?)> GetReversalDataAsync(Guid journalEntryId)
|
||||
{
|
||||
var entry = await db.JournalEntries.Include(x => x.Lines)
|
||||
.AsNoTracking()
|
||||
|
||||
Reference in new issue
Block a user