refactor: 💡 replace store.findAll with store.query (#2002)
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11825
This commit is contained in:
1 parent
6ae3067dd9
commit
776c46f129
6 files changed
+5
-20
No files matched your search
@@ -23,7 +23,7 @@ module('Unit | Model | scope', function (hooks) {
|
||||
{ id: 'p_3', type: 'project', scope: { scope_id: 'o_2' } },
|
||||
],
|
||||
}));
|
||||
const scopes = await store.findAll('scope');
|
||||
const scopes = await store.query('scope', {});
|
||||
// check integrity of scope relationships
|
||||
assert.notOk(await scopes[0].get('scope'), 'Global scope has no parent');
|
||||
assert.strictEqual(
|
||||
|
||||
Reference in new issue
Block a user