Skip to content

Commit

Permalink
Update javascript tests for catalog item form controller
Browse files Browse the repository at this point in the history
Update the tests with additional tenants ids
  • Loading branch information
Hilda Stastna committed Jun 4, 2019
1 parent e99fcea commit 53e3e2e
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
describe('catalogItemFormController', function() {
var $scope, $controller, currentRegion, postService, allCatalogsNames;
var $scope, $controller, currentRegion, postService, allCatalogsNames, additionalTenantIds;

beforeEach(module('ManageIQ'));

Expand All @@ -23,6 +23,7 @@ describe('catalogItemFormController', function() {
service_template_catalog_id: 10000000000012,
prov_type: 'generic_ansible_playbook',
type: 'ServiceTemplateAnsiblePlaybook',
additional_tenant_ids: additionalTenantIds,
config_info: {
provision: {
dialog_id: '10000000000031',
Expand All @@ -43,7 +44,7 @@ describe('catalogItemFormController', function() {
},
retirement: {
remove_resources: 'yes_without_playbook',
verbosity: '0',
verbosity: '0',
log_output: 'on_error',
}
}
Expand All @@ -55,6 +56,7 @@ describe('catalogItemFormController', function() {
$scope: $scope,
currentRegion: currentRegion,
allCatalogsNames: allCatalogsNames,
additionalTenantIds: additionalTenantIds,
catalogItemFormId: 1000000000001
});
}));
Expand Down

0 comments on commit 53e3e2e

Please sign in to comment.