#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"
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);
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);
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);