refactor: 💡 replace store.findAll with store.query (#2002)

✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11825
This commit is contained in:
Lisbet Alvarez authored and Zhihe Li committed 2024-01-16 10:17:45 -05:00
1 parent 6ae3067dd9
commit 776c46f129
6 files changed
+5 -20

No files matched your search

+1 -1
View File
@@ -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(