Skip to content

Commit 5c516cf

Browse files
authored
chore: update tests (#110)
1 parent 2fa6241 commit 5c516cf

File tree

1 file changed

+19
-14
lines changed

1 file changed

+19
-14
lines changed

tests/pr_test.go

Lines changed: 19 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -43,24 +43,29 @@ func TestProjectsFullTest(t *testing.T) {
4343
"resource_group_name": "default",
4444
"existing_secrets_manager_instance_crn": permanentResources["secretsManagerCRN"],
4545
},
46-
"8 - DevSecOps Toolchains": {
47-
"autostart": "false",
48-
"create_cos_api_key": "false",
49-
"create_secret_group": "false",
50-
"create_signing_certificate": "false",
51-
"create_signing_key": "false",
52-
"create_ibmcloud_api_key": "false",
46+
"7 - DevSecOps Toolchains": {
47+
"autostart": "false",
48+
"create_cos_api_key": "false",
49+
"create_secret_group": "false",
50+
"create_signing_key": "false",
51+
"create_ibmcloud_api_key": "false",
5352
},
5453
}
5554

5655
options.StackInputs = map[string]interface{}{
57-
"prefix": options.Prefix,
58-
"resource_group_name": options.Prefix,
59-
"sm_service_plan": "trial",
60-
"scc_service_plan": "security-compliance-center-standard-plan",
61-
"region": "us-south",
62-
"existing_secrets_manager_crn": permanentResources["secretsManagerCRN"],
63-
"ibmcloud_api_key": options.RequiredEnvironmentVars["TF_VAR_ibmcloud_api_key"], // always required by the stack
56+
"prefix": options.Prefix,
57+
"resource_group_name": options.Prefix,
58+
"sm_service_plan": "trial",
59+
"scc_service_plan": "security-compliance-center-standard-plan",
60+
"region": "us-south",
61+
"existing_secrets_manager_crn": permanentResources["secretsManagerCRN"],
62+
"ibmcloud_api_key": options.RequiredEnvironmentVars["TF_VAR_ibmcloud_api_key"], // always required by the stack
63+
"app_repo_existing_url": "https://us-south.git.cloud.ibm.com/padraic.edwards/hello-compliance-app-app-repo",
64+
"evidence_repo_existing_url": "https://us-south.git.cloud.ibm.com/padraic.edwards/hello-compliance-app-app-repo",
65+
"issues_repo_existing_url": "https://us-south.git.cloud.ibm.com/padraic.edwards/hello-compliance-app-app-repo",
66+
"inventory_repo_existing_url": "https://us-south.git.cloud.ibm.com/padraic.edwards/hello-compliance-app-app-repo",
67+
"cd_deployment_repo_existing_url": "https://us-south.git.cloud.ibm.com/padraic.edwards/hello-compliance-app-app-repo",
68+
"change_management_existing_url": "https://us-south.git.cloud.ibm.com/padraic.edwards/hello-compliance-app-app-repo",
6469
}
6570

6671
err1 := options.RunProjectsTest()

0 commit comments

Comments
 (0)