Commit d3cb98cd authored by Piotr Gawron's avatar Piotr Gawron
Browse files

required privilege type changed

parent 13434a02
......@@ -26,7 +26,7 @@ describe('PluginAdminPanel', function () {
helper.loginAsAdmin();
var mapTab;
return ServerConnector.getLoggedUser().then(function (user) {
user.setPrivilege({type: helper.getConfiguration().getPrivilegeType(PrivilegeType.MANAGE_PLUGINS)});
user.setPrivilege({type: helper.getConfiguration().getPrivilegeType(PrivilegeType.IS_ADMIN)});
}).then(function () {
mapTab = createPluginAdminPanel();
return mapTab.init();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment