refactor: 💡 Add await to invalidSession within admin (#2599)

This commit is contained in:
Carlos Alcaide Corvo authored and GitHub committed 2024-12-02 15:05:26 -08:00
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(