Skip to content

Commit

Permalink
tests: Configure provider before running test
Browse files Browse the repository at this point in the history
  • Loading branch information
radeksimko committed Feb 23, 2019
1 parent 7a01640 commit cc03d21
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions mysql/provider_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}

0 comments on commit cc03d21

Please sign in to comment.