diff options
| author | Aldrik Ramaekers <aldrikboy@gmail.com> | 2025-10-25 15:00:38 +0200 |
|---|---|---|
| committer | Aldrik Ramaekers <aldrikboy@gmail.com> | 2025-10-25 15:00:38 +0200 |
| commit | 5f25180b3d79d9a03952217cd77a16601ae0a6d0 (patch) | |
| tree | 2f06334f7d1ad7728c145143e7cbf86a72b24e0e /tests/test_helper.cpp | |
| parent | ebefd3d10af8d79e765030c263aa560cbb6420d2 (diff) | |
refactor tax rate loading
Diffstat (limited to 'tests/test_helper.cpp')
| -rw-r--r-- | tests/test_helper.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_helper.cpp b/tests/test_helper.cpp index ff20ff8..980fe8c 100644 --- a/tests/test_helper.cpp +++ b/tests/test_helper.cpp @@ -268,11 +268,11 @@ static void add_default_nl_tax_rates() u32 tr_count = country::get_available_tax_rates("NL", tr_buffer, 500); for (u32 i = 0; i < 10; i++) { - administration::tax_rate_add(tr_buffer[i]); + administration::tax_rate_enable(tr_buffer[i]); } for (u32 i = 0; i < 10; i++) { - administration::tax_rate_add(tr_buffer[tr_count - i - 1]); + administration::tax_rate_enable(tr_buffer[tr_count - i - 1]); } memops::unalloc(tr_buffer); } |
