Fixed members test for admin

no issue
This commit is contained in:
Rish 2019-10-14 08:40:32 +05:30 committed by Kevin Ansfield
parent 083b1e4a5a
commit 66d84790a4

View File

@ -29,13 +29,13 @@ describe('Acceptance: Members', function () {
.to.not.exist;
});
describe('as admin', function () {
describe('as owner', function () {
beforeEach(async function () {
this.server.loadFixtures('configs');
let config = this.server.schema.configs.first();
config.update({enableDeveloperExperiments: true});
let role = this.server.create('role', {name: 'Administrator'});
let role = this.server.create('role', {name: 'Owner'});
this.server.create('user', {roles: [role]});
return await authenticateSession();