mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-24 23:48:13 -05:00
Fixed members test for admin
no issue
This commit is contained in:
parent
083b1e4a5a
commit
66d84790a4
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue