test: 💍 add missing controller unit tests in admin-ui (#2553)
* test: 💍 add missing controller unit tests in admin-ui ✅ Closes: https://hashicorp.atlassian.net/browse/ICU-14740
This commit is contained in:
1 parent
7c1814118d
commit
57568f9a8c
77 files changed
+946
-81
No files matched your search
@@ -12,5 +12,6 @@ module('Unit | Controller | scopes/scope/targets/new', function (hooks) {
|
||||
test('it exists', function (assert) {
|
||||
const controller = this.owner.lookup('controller:scopes/scope/targets/new');
|
||||
assert.ok(controller);
|
||||
assert.ok(controller.targets);
|
||||
});
|
||||
});
|
||||
+1
@@ -16,6 +16,7 @@ module(
|
||||
'controller:scopes/scope/targets/target/brokered-credential-sources',
|
||||
);
|
||||
assert.ok(controller);
|
||||
assert.ok(controller.targets);
|
||||
});
|
||||
},
|
||||
);
|
||||
@@ -16,6 +16,7 @@ module(
|
||||
'controller:scopes/scope/targets/target/create-alias',
|
||||
);
|
||||
assert.ok(controller);
|
||||
assert.ok(controller.targets);
|
||||
});
|
||||
},
|
||||
);
|
||||
+1
@@ -16,6 +16,7 @@ module(
|
||||
'controller:scopes/scope/targets/target/edit-egress-worker-filter',
|
||||
);
|
||||
assert.ok(controller);
|
||||
assert.ok(controller.targets);
|
||||
});
|
||||
},
|
||||
);
|
||||
+1
@@ -16,6 +16,7 @@ module(
|
||||
'controller:scopes/scope/targets/target/edit-ingress-worker-filter',
|
||||
);
|
||||
assert.ok(controller);
|
||||
assert.ok(controller.targets);
|
||||
});
|
||||
},
|
||||
);
|
||||
+1
@@ -62,6 +62,7 @@ module(
|
||||
|
||||
test('it exists', function (assert) {
|
||||
assert.ok(controller);
|
||||
assert.ok(controller.storageBuckets);
|
||||
});
|
||||
|
||||
test('cancel action rolls-back changes on the specified model', async function (assert) {
|
||||
|
||||
+1
@@ -58,6 +58,7 @@ module(
|
||||
|
||||
test('it exists', function (assert) {
|
||||
assert.ok(controller);
|
||||
assert.ok(controller.targets);
|
||||
});
|
||||
|
||||
test('cancel action rolls-back changes on the specified model', async function (assert) {
|
||||
|
||||
@@ -16,6 +16,7 @@ module(
|
||||
'controller:scopes/scope/targets/target/host-sources',
|
||||
);
|
||||
assert.ok(controller);
|
||||
assert.ok(controller.targets);
|
||||
});
|
||||
},
|
||||
);
|
||||
+1
@@ -16,6 +16,7 @@ module(
|
||||
'controller:scopes/scope/targets/target/injected-application-credential-sources',
|
||||
);
|
||||
assert.ok(controller);
|
||||
assert.ok(controller.targets);
|
||||
});
|
||||
},
|
||||
);
|
||||
@@ -16,6 +16,7 @@ module(
|
||||
'controller:scopes/scope/targets/target/manage-alias',
|
||||
);
|
||||
assert.ok(controller);
|
||||
assert.ok(controller.targets);
|
||||
});
|
||||
},
|
||||
);
|
||||
@@ -16,6 +16,7 @@ module(
|
||||
'controller:scopes/scope/targets/target/workers',
|
||||
);
|
||||
assert.ok(controller);
|
||||
assert.ok(controller.targets);
|
||||
});
|
||||
},
|
||||
);
|
||||
Reference in new issue
Block a user