Skip to content

Commit d265769

Browse files
committed
udpate test
1 parent 3cf19dd commit d265769

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

mmv1/third_party/terraform/services/resourcemanager/resource_google_folder_test.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -116,13 +116,13 @@ func TestAccFolder_tags(t *testing.T) {
116116
ImportStateVerify: true,
117117
ImportStateVerifyIgnore: []string{"tags", "deletion_protection"}, // we don't read tags back
118118
},
119-
// Update tags tries to replace project but fails due to deletion protection
119+
// Update tags tries to replace the folder but fails due to deletion protection
120120
{
121-
Config: testAccFolder_tags(folderDisplayName, org, map[string]string{org + "/env": "staging"}),
121+
Config: testAccFolder_tags(folderDisplayName, org, map[string]string{}),
122122
ExpectError: regexp.MustCompile("deletion_protection"),
123123
},
124124
{
125-
Config: testAccFolder_tagsAllowDestroy(folderDisplayName, parent, map[string]string{org + "/env": "test"}),
125+
Config: testAccFolder_tagsAllowDestroy(folderDisplayName, parent, map[string]string{org + "/" + tagKey: tagValue}),
126126
},
127127
},
128128
})

0 commit comments

Comments
 (0)