refactor: 💡 mock authenticate should handle multiple auth types

This commit is contained in:
Randall Morey committed 2021-01-15 17:32:30 -05:00
1 parent 92640b96aa
commit a3c12b36e7
6 files changed
+36 -69

No files matched your search

@@ -66,8 +66,12 @@ module('Acceptance | authentication', function (hooks) {
scope = { id: orgScope.id, type: orgScope.type };
globalAuthMethod = this.server.create('auth-method', {
scope: globalScope,
type: 'password'
});
authMethod = this.server.create('auth-method', {
scope: orgScope,
type: 'password'
});
authMethod = this.server.create('auth-method', { scope: orgScope });
orgScopeID = orgScope.id;
globalAuthMethodID = globalAuthMethod.id;
authMethodID = authMethod.id;