These tests queried an Activa account (checking) as accountId, but the totals chart only ever runs for Expense-class accounts, which are always the target side of a spend booking. With a realistic expense-account setup, the existing TargetAccountId filter behaves correctly: it excludes bookings where the account is the origin (a negative value can't be shown as a pie slice) rather than netting them against the target-side booking. |
||
|---|---|---|
| .. | ||
| AccountRepositoryTestShould.cs | ||
| ChartServiceTestShould.cs | ||
| FileServiceTestShould.cs | ||
| FormattingTestShould.cs | ||
| FxConverterTestShould.cs | ||
| RepositoryCacheTestShould.cs | ||
| Schaad.Accounting.Tests.csproj | ||
| TransactionDatasetTestShould.cs | ||
| TransactionRepositoryTestShould.cs | ||
| ViewServiceTestShould.cs | ||