Feature cross scope group members (#1196)
* chore: 🤖 add scope column to role principals and group members * chore: 🤖 add recursion and filtering to user and group mocks * feat: 🎸 expose groups and roles on projects * feat: 🎸 enable cross-scope assignment of group members
This commit is contained in:
1 parent
31cf696902
commit
94530cec9c
5 files changed
+13
-9
No files matched your search
@@ -7,7 +7,7 @@ import {
|
||||
find,
|
||||
findAll,
|
||||
getRootElement,
|
||||
//setupOnerror,
|
||||
setupOnerror,
|
||||
} from '@ember/test-helpers';
|
||||
import { setupApplicationTest } from 'ember-qunit';
|
||||
import setupMirage from 'ember-cli-mirage/test-support/setup-mirage';
|
||||
@@ -115,6 +115,9 @@ module('Acceptance | authentication', function (hooks) {
|
||||
|
||||
test('visiting auth method when the scope cannot be loaded is still allowed', async function (assert) {
|
||||
assert.expect(1);
|
||||
setupOnerror(() => {
|
||||
// do nothing, otherwise an uncaught adapter error will fail the test
|
||||
});
|
||||
this.server.get('/scopes', () => {
|
||||
return new Response(404);
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user