style: format ui/core
This commit is contained in:
165 files changed
+1075
-785
No files matched your search
@@ -36,11 +36,10 @@ 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' });
|
||||
await authenticator.authenticate(
|
||||
creds,
|
||||
null,
|
||||
{ scope, authMethod }
|
||||
await authenticator.authenticate(creds, null, { scope, authMethod });
|
||||
assert.equal(
|
||||
applicationAdapter.headers.Authorization,
|
||||
'Bearer thetokenstring'
|
||||
);
|
||||
assert.equal(applicationAdapter.headers.Authorization, 'Bearer thetokenstring');
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user