diff --git a/internal/acceptance/data_mws_network_connectivity_config_test.go b/internal/acceptance/data_mws_network_connectivity_config_test.go index c897a3aa5..d4932785e 100755 --- a/internal/acceptance/data_mws_network_connectivity_config_test.go +++ b/internal/acceptance/data_mws_network_connectivity_config_test.go @@ -4,18 +4,18 @@ import ( "fmt" "testing" - "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" + "github.com/hashicorp/terraform-plugin-testing/terraform" ) func TestAccDataSourceMwsNetworkConnectivityConfigTest(t *testing.T) { - accountLevel(t, - step{ + AccountLevel(t, + Step{ Template: ` resource "databricks_mws_network_connectivity_config" "this" { name = "tf-{var.RANDOM}" region = "eastus2" }`}, - step{ + Step{ Template: ` resource "databricks_mws_network_connectivity_config" "this" { name = "tf-{var.RANDOM}" diff --git a/mws/data_mws_network_connectivity_config_test.go b/mws/data_mws_network_connectivity_config_test.go index 3a7ca2854..b675d8e69 100644 --- a/mws/data_mws_network_connectivity_config_test.go +++ b/mws/data_mws_network_connectivity_config_test.go @@ -52,19 +52,6 @@ func TestDataSourceMwsNetworkConnectivityConfig(t *testing.T) { }) } -func TestDataSourceMwsNetworkConnectivityConfig_AccountID(t *testing.T) { - qa.ResourceFixture{ - Fixtures: []qa.HTTPFixture{}, - Resource: DataSourceMwsNetworkConnectivityConfig(), - Read: true, - NonWritable: true, - ID: "_", - HCL: ` - name = "def" - `, - }.ExpectError(t, "invalid Databricks Account configuration") -} - func TestDataSourceMwsNetworkConnectivityConfig_NoName(t *testing.T) { qa.ResourceFixture{ Fixtures: qa.HTTPFailures,