fix: desktop: revert header padding & fix broken tests
This commit is contained in:
4 files changed
+6
No files matched your search
@@ -44,6 +44,7 @@ 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,
|
||||
|
||||
@@ -67,6 +67,7 @@ module('Acceptance | authentication', function (hooks) {
|
||||
globalAuthMethod = this.server.create('auth-method', {
|
||||
scope: globalScope,
|
||||
});
|
||||
this.server.create('user', { scope: globalScope });
|
||||
authMethod = this.server.create('auth-method', { scope: orgScope });
|
||||
orgScopeID = orgScope.id;
|
||||
globalAuthMethodID = globalAuthMethod.id;
|
||||
|
||||
@@ -100,6 +100,9 @@
|
||||
}
|
||||
|
||||
.rose-header {
|
||||
-webkit-app-region: drag;
|
||||
min-height: sizing.rems(l) * 2;
|
||||
padding-left: sizing.rems(l) * 3;
|
||||
position: relative;
|
||||
|
||||
.logotype {
|
||||
|
||||
@@ -44,6 +44,7 @@ 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,
|
||||
|
||||
Reference in new issue
Block a user