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
@@ -4,7 +4,7 @@
|
||||
*/
|
||||
|
||||
import { module, test } from 'qunit';
|
||||
import { setupTest } from 'admin/tests/helpers';
|
||||
import { setupTest } from 'ember-qunit';
|
||||
|
||||
module('Unit | Controller | scopes/scope/groups/group/index', function (hooks) {
|
||||
setupTest(hooks);
|
||||
@@ -14,5 +14,6 @@ module('Unit | Controller | scopes/scope/groups/group/index', function (hooks) {
|
||||
'controller:scopes/scope/groups/group/index',
|
||||
);
|
||||
assert.ok(controller);
|
||||
assert.ok(controller.groups);
|
||||
});
|
||||
});
|
||||
@@ -4,7 +4,7 @@
|
||||
*/
|
||||
|
||||
import { module, test } from 'qunit';
|
||||
import { setupTest } from 'admin/tests/helpers';
|
||||
import { setupTest } from 'ember-qunit';
|
||||
|
||||
module(
|
||||
'Unit | Controller | scopes/scope/groups/group/members',
|
||||
@@ -16,6 +16,7 @@ module(
|
||||
'controller:scopes/scope/groups/group/members',
|
||||
);
|
||||
assert.ok(controller);
|
||||
assert.ok(controller.groups);
|
||||
});
|
||||
},
|
||||
);
|
||||
Reference in new issue
Block a user