From aa63c64dc8f6613ed76d7cae0cd078906198261f Mon Sep 17 00:00:00 2001 From: JohnAi Date: Wed, 1 Nov 2023 15:15:31 +0800 Subject: [PATCH] update test db --- tests/dao_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/dao_test.go b/tests/dao_test.go index 71a95ce..d7fb0c9 100644 --- a/tests/dao_test.go +++ b/tests/dao_test.go @@ -34,7 +34,7 @@ import ( var gormDb *gorm.DB func init() { - dsn := "root:my-secret-pw@tcp(127.0.0.1:3306)/test_db?charset=utf8mb4&parseTime=True&loc=Local" + dsn := "root:123456@tcp(127.0.0.1:3306)/test?charset=utf8mb4&parseTime=True&loc=Local" var err error gormDb, err = gorm.Open(mysql.Open(dsn), &gorm.Config{ Logger: logger.Default.LogMode(logger.Info),