diff --git a/random/provider_test.go b/random/provider_test.go index 875988f9..86f871fb 100644 --- a/random/provider_test.go +++ b/random/provider_test.go @@ -3,6 +3,8 @@ package random import ( "testing" + "github.com/hashicorp/terraform-plugin-sdk/acctest" + "github.com/hashicorp/terraform-plugin-sdk/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/helper/schema" "github.com/hashicorp/terraform-plugin-sdk/terraform" ) @@ -29,3 +31,8 @@ func TestProvider_impl(t *testing.T) { func testAccPreCheck(t *testing.T) { } + +func TestMain(m *testing.M) { + acctest.UseBinaryDriver("random", Provider) + resource.TestMain(m) +}