Skip to content

Commit

Permalink
Correct 'TestAccAppConfigEnvironment_tagsWithNullValue'.
Browse files Browse the repository at this point in the history
  • Loading branch information
ewbankkit committed Nov 8, 2023
1 parent 8f1bf52 commit 3b830ec
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions internal/service/appconfig/environment_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -322,13 +322,13 @@ func TestAccAppConfigEnvironment_tagsWithNullValue(t *testing.T) {
testAccCheckEnvironmentExists(ctx, resourceName),
resource.TestCheckResourceAttr(resourceName, "tags.%", "2"),
resource.TestCheckResourceAttr(resourceName, "tags.key1", "value1"),
resource.TestCheckResourceAttr(resourceName, "tags.key2", ""),
resource.TestCheckNoResourceAttr(resourceName, "tags.key2"),
),
},
{
ResourceName: resourceName,
ImportState: true,
ImportStateVerify: true,
// ~ tags = {
// ~ "key2" = "" -> null
// # (1 unchanged element hidden)
// }
ExpectNonEmptyPlan: true,
},
},
})
Expand Down

0 comments on commit 3b830ec

Please sign in to comment.