Skip to content

Commit

Permalink
udpate test
Browse files Browse the repository at this point in the history
  • Loading branch information
abd-goog committed Sep 4, 2024
1 parent 3443834 commit 227ce2e
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -116,13 +116,13 @@ func TestAccFolder_tags(t *testing.T) {
ImportStateVerify: true,
ImportStateVerifyIgnore: []string{"tags", "deletion_protection"}, // we don't read tags back
},
// Update tags tries to replace project but fails due to deletion protection
// Update tags tries to replace the folder but fails due to deletion protection
{
Config: testAccFolder_tags(folderDisplayName, org, map[string]string{org + "/env": "staging"}),
Config: testAccFolder_tags(folderDisplayName, org, map[string]string{}),
ExpectError: regexp.MustCompile("deletion_protection"),
},
{
Config: testAccFolder_tagsAllowDestroy(folderDisplayName, parent, map[string]string{org + "/env": "test"}),
Config: testAccFolder_tagsAllowDestroy(folderDisplayName, parent, map[string]string{org + "/" + tagKey: tagValue}),
},
},
})
Expand Down

0 comments on commit 227ce2e

Please sign in to comment.