Skip to content

Commit bb2833a

Browse files
Rewrite the code to handle handwritten resources (#10542) (#7304)
[upstream:2832e16ced51f640c45808a98a773b829d4f0542] Signed-off-by: Modular Magician <[email protected]>
1 parent dafafa4 commit bb2833a

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed

google-beta/services/containeranalysis/resource_container_analysis_occurrence_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import (
2020

2121
const testAttestationOccurrenceImageUrl = "gcr.io/cloud-marketplace/google/ubuntu1804"
2222
const testAttestationOccurrenceImageDigest = "sha256:3593cd4ac7d782d460dc86ba9870a3beaf81c8f5cdbcc8880bf9a5ef6af10c5a"
23-
const testAttestationOccurrencePayloadTemplate = "test-fixtures/generated_payload.json.tmpl"
23+
const testAttestationOccurrencePayloadTemplate = "test-fixtures/generated_payload.json"
2424

2525
var testAttestationOccurrenceFullImagePath = fmt.Sprintf("%s@%s", testAttestationOccurrenceImageUrl, testAttestationOccurrenceImageDigest)
2626

google-beta/services/deploymentmanager/resource_deployment_manager_deployment_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ func TestAccDeploymentManagerDeployment_basicFile(t *testing.T) {
2424
randSuffix := acctest.RandString(t, 10)
2525
deploymentId := "tf-dm-" + randSuffix
2626
accountId := "tf-dm-account-" + randSuffix
27-
yamlPath := createYamlConfigFileForTest(t, "test-fixtures/service_account.yml.tmpl", map[string]interface{}{
27+
yamlPath := createYamlConfigFileForTest(t, "test-fixtures/service_account.yml", map[string]interface{}{
2828
"account_id": accountId,
2929
})
3030

@@ -99,7 +99,7 @@ func TestAccDeploymentManagerDeployment_imports(t *testing.T) {
9999
randStr := acctest.RandString(t, 10)
100100
deploymentName := "tf-dm-" + randStr
101101
accountId := "tf-dm-" + randStr
102-
importFilepath := createYamlConfigFileForTest(t, "test-fixtures/service_account.yml.tmpl", map[string]interface{}{
102+
importFilepath := createYamlConfigFileForTest(t, "test-fixtures/service_account.yml", map[string]interface{}{
103103
"account_id": "{{ env['name'] }}",
104104
})
105105

0 commit comments

Comments
 (0)