refactor: 💡 Add await to invalidSession within admin (#2599)
This commit is contained in:
1 parent
2f8a53e3ea
commit
61297dba02
2 files changed
+3
-3
No files matched your search
@@ -161,7 +161,7 @@ module('Acceptance | accounts | change password', function (hooks) {
|
||||
});
|
||||
|
||||
test('cannot change password when not authenticated', async function (assert) {
|
||||
invalidateSession();
|
||||
await invalidateSession();
|
||||
|
||||
await visit(urls.changePassword);
|
||||
|
||||
|
||||
@@ -66,8 +66,8 @@ module('Acceptance | authentication', function (hooks) {
|
||||
let sessionsURL;
|
||||
let targetsURL;
|
||||
|
||||
hooks.beforeEach(function () {
|
||||
invalidateSession();
|
||||
hooks.beforeEach(async function () {
|
||||
await invalidateSession();
|
||||
indexURL = '/';
|
||||
globalScope = this.server.create('scope', { id: 'global' });
|
||||
orgScope1 = this.server.create(
|
||||
|
||||
Reference in new issue
Block a user