Skip to content

Commit ee0a944

Browse files
committed
Fix default DHCP options test resource
There was a typo in the check for default resources. Fix this.
1 parent 36827c0 commit ee0a944

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

provider/core_dhcp_options_resource_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -139,9 +139,9 @@ func (s *ResourceCoreDHCPOptionsTestSuite) TestAccResourceCoreDHCPOptions_basic(
139139
{
140140
Config: s.Config + defaultDhcpOpts,
141141
Check: resource.ComposeTestCheckFunc(
142-
resource.TestCheckResourceAttr("oci_core_dhcp_options.default", "options.0.type", "DomainNameServer"),
143-
resource.TestCheckResourceAttr("oci_core_dhcp_options.default", "options.0.server_type", "CustomDnsServer"),
144-
resource.TestCheckResourceAttr("oci_core_dhcp_options.default", "options.1.type", "SearchDomain"),
142+
resource.TestCheckResourceAttr("oci_core_default_dhcp_options.default", "options.0.type", "DomainNameServer"),
143+
resource.TestCheckResourceAttr("oci_core_default_dhcp_options.default", "options.0.server_type", "CustomDnsServer"),
144+
resource.TestCheckResourceAttr("oci_core_default_dhcp_options.default", "options.1.type", "SearchDomain"),
145145
),
146146
},
147147
},

0 commit comments

Comments
 (0)