refactor: 💡 remove route-action usage from credential-stores (#2172)

* refactor: 💡 remove route-action usage from credential-stores

✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12604
This commit is contained in:
Lisbet Alvarez authored and GitHub committed 2024-03-18 16:34:37 -07:00
1 parent 879c196887
commit d93986c4e2
32 files changed
+412 -250

No files matched your search

@@ -23,6 +23,8 @@ module(
setupApplicationTest(hooks);
setupMirage(hooks);
let featuresService;
const instances = {
scopes: {
global: null,
@@ -83,6 +85,8 @@ module(
urls.usernamePasswordCredential = `${urls.credentials}/${instances.usernamePasswordCredential.id}`;
urls.usernameKeyPairCredential = `${urls.credentials}/${instances.usernameKeyPairCredential.id}`;
urls.jsonCredential = `${urls.credentials}/${instances.jsonCredential.id}`;
featuresService = this.owner.lookup('service:features');
authenticateSession({});
});
@@ -117,6 +121,7 @@ module(
});
test('can save changes to existing JSON credential', async function (assert) {
featuresService.enable('json-credentials');
const mockInput = 'random string';
assert.notEqual(instances.jsonCredential.name, mockInput);
await visit(urls.jsonCredential);