summaryrefslogtreecommitdiff
path: root/tests/test_helper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_helper.cpp')
-rw-r--r--tests/test_helper.cpp35
1 files changed, 0 insertions, 35 deletions
diff --git a/tests/test_helper.cpp b/tests/test_helper.cpp
index 980fe8c..c99bdd0 100644
--- a/tests/test_helper.cpp
+++ b/tests/test_helper.cpp
@@ -48,41 +48,6 @@ static contact _create_nl_consumer()
return pw;
}
-
-static billing_item _create_bi1()
-{
- billing_item item = administration::billing_item_create_empty();
- item.amount = 1;
- item.amount_is_percentage = 0;
- strops::copy(item.description, "Shampoo", MAX_LEN_LONG_DESC);
- item.net_per_item = 10.00f;
- item.discount = 2.0f;
- item.discount_is_percentage = 0;
-
- tax_rate rate;
- administration::tax_rate_get_by_internal_code(&rate, "NL/21");
- strops::copy(item.tax_internal_code, rate.internal_code, MAX_LEN_SHORT_DESC);
-
- return item;
-}
-
-static billing_item _create_bi2()
-{
- billing_item item = administration::billing_item_create_empty();
- item.amount = 2;
- item.amount_is_percentage = 0;
- strops::copy(item.description, "Soap", MAX_LEN_LONG_DESC);
- item.net_per_item = 5.00f;
- item.discount = 5.0f;
- item.discount_is_percentage = 1;
-
- tax_rate rate;
- administration::tax_rate_get_by_internal_code(&rate, "NL/21");
- strops::copy(item.tax_internal_code, rate.internal_code, MAX_LEN_SHORT_DESC);
-
- return item;
-}
-
static billing_item _create_bi3()
{
billing_item item = administration::billing_item_create_empty();