From 61c8da5b1f31a5d0c49b8db144ffe17691ebfee1 Mon Sep 17 00:00:00 2001 From: Stanislav Dunajcan Date: Fri, 3 Dec 2021 10:56:33 +0100 Subject: [PATCH] In the test was throw undefined which is not catched with mocha. (#2345) Co-authored-by: Stanislav Dunajcan --- .../ember-simple-auth/tests/unit/authenticators/devise-test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/ember-simple-auth/tests/unit/authenticators/devise-test.js b/packages/ember-simple-auth/tests/unit/authenticators/devise-test.js index 539d33013..195353015 100644 --- a/packages/ember-simple-auth/tests/unit/authenticators/devise-test.js +++ b/packages/ember-simple-auth/tests/unit/authenticators/devise-test.js @@ -32,7 +32,7 @@ describe('DeviseAuthenticator', () => { describe('when the data contains a custom token and email attribute', function() { beforeEach(function() { - authenticator = Devise.extend({ tokenAttributeName: 'employee.token', identificationAttributeName: 'employee.email' }).create(); + authenticator = Devise.extend({ resourceName: 'employee', tokenAttributeName: 'token', identificationAttributeName: 'email' }).create(); }); it('resolves with the correct data', async function() {