Skip to content

Commit d66363d

Browse files
committed
Set default Password to none
1 parent 5a964bf commit d66363d

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

driver_test.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,18 +22,19 @@ func getEnv() bool {
2222
if user == "" {
2323
user = "root"
2424
}
25+
2526
pass := os.Getenv("MYSQL_TEST_PASS")
26-
if pass == "" {
27-
pass = "root"
28-
}
27+
2928
prot := os.Getenv("MYSQL_TEST_PROT")
3029
if prot == "" {
3130
prot = "tcp"
3231
}
32+
3333
addr := os.Getenv("MYSQL_TEST_ADDR")
3434
if addr == "" {
3535
addr = "localhost:3306"
3636
}
37+
3738
dbname := os.Getenv("MYSQL_TEST_DBNAME")
3839
if dbname == "" {
3940
dbname = "gotest"

0 commit comments

Comments
 (0)