* chore: 🤖 Upgrade API layer to ember 4.12 * chore: 🤖 Upgrade ember-data to 4.12 * fix: 🐛 Fix breaking change from usage of internal method * chore: 🤖 Remove stylelint in API addon * test: 💍 Fix broken API tests * chore: 🤖 get rid of toArray * test: 💍 Fix tests broken by ember data changes --------- Co-authored-by: dharini <dharini@hashicorp.com>
This commit is contained in:
1 parent
77b47e2cb3
commit
0e9042f588
21 files changed
+1338
-284
No files matched your search
@@ -12,7 +12,6 @@ import {
|
||||
find,
|
||||
findAll,
|
||||
getRootElement,
|
||||
setupOnerror,
|
||||
} from '@ember/test-helpers';
|
||||
import { setupApplicationTest } from 'ember-qunit';
|
||||
import setupMirage from 'ember-cli-mirage/test-support/setup-mirage';
|
||||
@@ -124,10 +123,7 @@ 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', () => {
|
||||
this.server.get(authMethodAuthenticateURL, () => {
|
||||
return new Response(404);
|
||||
});
|
||||
await visit(authMethodAuthenticateURL);
|
||||
|
||||
Reference in new issue
Block a user