mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-26 04:13:30 +03:00
Fixed linter error for unused variable in dashboard-test.js
This commit is contained in:
parent
9fbb63cf41
commit
10ff54151f
@ -10,8 +10,6 @@ describe('Acceptance: Dashboard', function () {
|
||||
const hooks = setupApplicationTest();
|
||||
setupMirage(hooks);
|
||||
|
||||
let user;
|
||||
|
||||
beforeEach(async function () {
|
||||
this.server.loadFixtures('configs');
|
||||
this.server.loadFixtures('settings');
|
||||
@ -19,7 +17,7 @@ describe('Acceptance: Dashboard', function () {
|
||||
enableLabsFlag(this.server, 'improvedOnboarding');
|
||||
|
||||
let role = this.server.create('role', {name: 'Administrator'});
|
||||
user = this.server.create('user', {roles: [role]});
|
||||
this.server.create('user', {roles: [role]});
|
||||
|
||||
return await authenticateSession();
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user