const char *const app_id = "security_manager_09_add_user_offline_app";
const char *const pkg_id = "security_manager_09_add_user_offline_pkg";
const std::string new_user_name("sm_test_09_user_name");
- ServiceManager serviceManager("security-manager.service");
- serviceManager.maskService();
+
+ ServiceManager("security-manager.service").stopService();
+
+ ServiceManager serviceManager("security-manager.socket");
serviceManager.stopService();
TemporaryTestUser test_user(new_user_name, GUM_USERTYPE_NORMAL, true);
check_app_after_install(app_id, pkg_id);
- serviceManager.unmaskService();
serviceManager.startService();
test_user.remove();