X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/e9ae1f101b5418c0ba2e6c9d86b23c12f0140982..a5cb4cf37e5dfa9bb9ce5c5e4ccf8d5978d3576f:/tests/test_fee_charge_rules.cpp?ds=inline diff --git a/tests/test_fee_charge_rules.cpp b/tests/test_fee_charge_rules.cpp index b2a2790e..1fe1542f 100644 --- a/tests/test_fee_charge_rules.cpp +++ b/tests/test_fee_charge_rules.cpp @@ -1,11 +1,11 @@ #include "tut/tut.hpp" +#include "stg/admin.h" #include "stg/user_property.h" #include "user_impl.h" #include "testsettings.h" #include "testtariffs.h" -#include "testadmin.h" #include "teststore.h" #include "testservices.h" @@ -39,7 +39,7 @@ namespace tut TEST_SETTINGS_LOCAL settings(0); TEST_TARIFFS tariffs; - TEST_ADMIN admin; + STG::Admin admin(STG::Priv(0xFFFF), {}, {}); TEST_STORE store; TEST_SERVICES services; STG::UserImpl user(&settings, &store, &tariffs, &admin, NULL, services); @@ -72,7 +72,7 @@ namespace tut TEST_SETTINGS_LOCAL settings(1); TEST_TARIFFS tariffs; - TEST_ADMIN admin; + STG::Admin admin(STG::Priv(0xFFFF), {}, {}); TEST_STORE store; TEST_SERVICES services; STG::UserImpl user(&settings, &store, &tariffs, &admin, NULL, services); @@ -119,7 +119,7 @@ namespace tut TEST_SETTINGS_LOCAL settings(2); TEST_TARIFFS tariffs; - TEST_ADMIN admin; + STG::Admin admin(STG::Priv(0xFFFF), {}, {}); TEST_STORE store; TEST_SERVICES services; STG::UserImpl user(&settings, &store, &tariffs, &admin, NULL, services);