Skip to content

Commit

Permalink
Stop requiring MYSQL_PASSWORD
Browse files Browse the repository at this point in the history
  • Loading branch information
petoju committed Feb 24, 2021
1 parent 443494e commit 82fc6fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mysql/provider_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ func TestProvider_impl(t *testing.T) {

func testAccPreCheck(t *testing.T) {
ctx := context.Background()
for _, name := range []string{"MYSQL_ENDPOINT", "MYSQL_USERNAME", "MYSQL_PASSWORD"} {
for _, name := range []string{"MYSQL_ENDPOINT", "MYSQL_USERNAME"} {
if v := os.Getenv(name); v == "" {
t.Fatal("MYSQL_ENDPOINT, MYSQL_USERNAME and optionally MYSQL_PASSWORD must be set for acceptance tests")
}
Expand Down

0 comments on commit 82fc6fb

Please sign in to comment.