mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-27 04:43:12 +03:00
Fixed members test for admin
no issue
This commit is contained in:
parent
083b1e4a5a
commit
66d84790a4
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user