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:
Lisbet Alvarez authored and GitHub committed 2024-11-12 09:27:07 -08:00
1 parent 7c1814118d
commit 57568f9a8c
77 files changed
+946 -81

No files matched your search

@@ -8,8 +8,6 @@ import Controller, { inject as controller } from '@ember/controller';
export default class ScopesScopeAuthMethodsNewController extends Controller {
@controller('scopes/scope/auth-methods/index') authMethods;
// =services
// =attributes
queryParams = ['type'];
@@ -12,6 +12,7 @@ import { notifySuccess, notifyError } from 'core/decorators/notify';
export default class ScopesScopeStorageBucketsIndexController extends Controller {
// =services
@service router;
// =actions
@@ -63,7 +64,7 @@ export default class ScopesScopeStorageBucketsIndexController extends Controller
}
/**
* Updates credentil type
* Updates credential type
* @param {object} storageBucket
* @param {string} credentialType
*/
@@ -74,7 +75,7 @@ export default class ScopesScopeStorageBucketsIndexController extends Controller
/**
* Changes the plugin type.
* @param {*} pluginType
* @param {string} pluginType
*/
@action
async changePluginType(pluginType) {