From cc03d21d76d0a706f6ba4a7454e06abc60f98854 Mon Sep 17 00:00:00 2001 From: Radek Simko Date: Sat, 23 Feb 2019 09:58:03 +0000 Subject: [PATCH] tests: Configure provider before running test --- mysql/provider_test.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/mysql/provider_test.go b/mysql/provider_test.go index 824e2b2be..b7cb6773a 100644 --- a/mysql/provider_test.go +++ b/mysql/provider_test.go @@ -52,4 +52,9 @@ func testAccPreCheck(t *testing.T) { t.Fatal("MYSQL_ENDPOINT, MYSQL_USERNAME and optionally MYSQL_PASSWORD must be set for acceptance tests") } } + + err := testAccProvider.Configure(terraform.NewResourceConfig(nil)) + if err != nil { + t.Fatal(err) + } }