summaryrefslogtreecommitdiff
path: root/tests/test_helper.cpp
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrik@mailbox.org>2026-01-03 11:03:50 +0100
committerAldrik Ramaekers <aldrik@mailbox.org>2026-01-03 11:03:50 +0100
commit83a9739b3aff75cf767db687bd531fa5283e0e72 (patch)
treeadf130cb7728a4358062a040f6322ecc236d0e6b /tests/test_helper.cpp
parent2218ef68056ebc5a3a416e2dd7e8e020fba60a4f (diff)
move invoice status to invoice extras struct. implement r/w
Diffstat (limited to 'tests/test_helper.cpp')
-rw-r--r--tests/test_helper.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/test_helper.cpp b/tests/test_helper.cpp
index c99bdd0..7b1bf96 100644
--- a/tests/test_helper.cpp
+++ b/tests/test_helper.cpp
@@ -152,7 +152,6 @@ static invoice _create_nl_b2b_inv_outgoing()
inv.supplier = administration::company_info_get();
inv.customer = _create_nl_business();
inv.is_outgoing = 1;
- inv.status = invoice_status::INVOICE_CONCEPT;
inv.issued_at = time(NULL);
inv.delivered_at = inv.issued_at;
inv.expires_at = inv.issued_at + 1000;
@@ -165,7 +164,6 @@ static invoice _create_nl_b2b_inv_incomming()
inv.supplier = _create_nl_business();
inv.customer = administration::company_info_get();
inv.is_outgoing = 0;
- inv.status = invoice_status::INVOICE_CONCEPT;
inv.issued_at = time(NULL);
inv.delivered_at = inv.issued_at;
inv.expires_at = inv.issued_at + 1000;