Skip to content

Commit

Permalink
Update data_source_consul_keys_test.go
Browse files Browse the repository at this point in the history
  • Loading branch information
NightOwl998 authored Oct 27, 2023
1 parent ccf4310 commit b671571
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions consul/data_source_consul_keys_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,7 @@ func TestAccDataConsulKeys_datacenter(t *testing.T) {
{
Config: testAccDataConsulKeysConfigDatacenter,
Check: resource.ComposeTestCheckFunc(
//testAccCheckConsulKeysValue("data.consul_keys.dc1", "read", ""),
// I removed the previous line since now we have a correct behaviour of launching an error when they key doesn't exist
testAccCheckConsulKeysValue("data.consul_keys.dc1", "read", ""),
testAccCheckConsulKeysValue("data.consul_keys.dc2", "read", "dc2"),
),
},
Expand Down

0 comments on commit b671571

Please sign in to comment.