Improve testing and some cleanup refactoring.

This commit is contained in:
brianj committed 2026-07-29 11:07:12 +02:00
1 parent 249a166d07
commit 44846eaa13
15 files changed
+253 -96

No files matched your search

@@ -16,9 +16,9 @@ public class AccountDbContext(DbContextOptions<AccountDbContext> options) : DbCo
modelBuilder.Entity<Account>()
.HasData(
new Account(1, 10000000.00m, "Credit"),
new Account(2, 50000000.00m, "Liability"),
new Account(99999, 0.00m, "Revenue")
new Account(1, 10000000.00m, AccountType.Credit),
new Account(2, 50000000.00m, AccountType.Liability),
new Account(99999, 0.00m, AccountType.Revenue)
);
modelBuilder.Entity<JournalEntry>(builder =>