From 5f25180b3d79d9a03952217cd77a16601ae0a6d0 Mon Sep 17 00:00:00 2001 From: Aldrik Ramaekers Date: Sat, 25 Oct 2025 15:00:38 +0200 Subject: refactor tax rate loading --- tests/test_helper.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/test_helper.cpp') 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); } -- cgit v1.2.3-70-g09d2