From f922c90a0f4778edb85ec590afd139a071ae2a34 Mon Sep 17 00:00:00 2001 From: Susmitha Girumala Date: Fri, 29 Jan 2021 15:23:55 -0500 Subject: [PATCH] refactor: Remove unnecessary global user creation in test --- ui/desktop/tests/unit/authenticators/password-test.js | 1 - 1 file changed, 1 deletion(-) diff --git a/ui/desktop/tests/unit/authenticators/password-test.js b/ui/desktop/tests/unit/authenticators/password-test.js index a7580ef7d..35e872b48 100644 --- a/ui/desktop/tests/unit/authenticators/password-test.js +++ b/ui/desktop/tests/unit/authenticators/password-test.js @@ -44,7 +44,6 @@ module('Unit | Authenticator | password', function (hooks) { const authMethod = { id: 'paum_1234' }; this.server.create('scope', { id: 'global', type: 'global' }); this.server.create('auth-method', { id: authMethod.id, scopeId: 'global' }); - this.server.create('user', { scopeId: 'global' }); await authenticator.authenticate(creds, null, { scope, authMethod }); assert.equal( applicationAdapter.headers.Authorization,