fix tests

This commit is contained in:
ValueOn AG 2026-05-21 07:26:24 +02:00
parent 5277ced44c
commit 13e8d0a808

View file

@ -27,18 +27,16 @@ class TestAbacusGetAccountBalances:
rawEntries = [
{
"Id": "e1", "JournalDate": "2025-01-15T00:00:00",
"Lines": [
{"AccountId": "1020", "DebitAmount": 1000.0, "CreditAmount": 0.0},
{"AccountId": "6000", "DebitAmount": 0.0, "CreditAmount": 1000.0},
],
"Id": "e1", "Date": "2025-01-15T00:00:00",
"Amount": {"KeyAmount": 1000.0},
"Debit": {"AccountId": "1020"},
"Credit": {"AccountId": "6000"},
},
{
"Id": "e2", "JournalDate": "2025-12-20T00:00:00",
"Lines": [
{"AccountId": "1020", "DebitAmount": 500.0, "CreditAmount": 0.0},
{"AccountId": "6000", "DebitAmount": 0.0, "CreditAmount": 500.0},
],
"Id": "e2", "Date": "2025-12-20T00:00:00",
"Amount": {"KeyAmount": 500.0},
"Debit": {"AccountId": "1020"},
"Credit": {"AccountId": "6000"},
},
]
@ -68,11 +66,10 @@ class TestAbacusGetAccountBalances:
rawEntries = [
{
"Id": "e1", "JournalDate": "2024-06-30T00:00:00",
"Lines": [
{"AccountId": "1020", "DebitAmount": 7000.0, "CreditAmount": 0.0},
{"AccountId": "9999", "DebitAmount": 0.0, "CreditAmount": 7000.0},
],
"Id": "e1", "Date": "2024-06-30T00:00:00",
"Amount": {"KeyAmount": 7000.0},
"Debit": {"AccountId": "1020"},
"Credit": {"AccountId": "9999"},
},
]