Skip to content

Commit

Permalink
update test db
Browse files Browse the repository at this point in the history
  • Loading branch information
aixj1984 authored Nov 1, 2023
1 parent 13c7967 commit aa63c64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/dao_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit aa63c64

Please sign in to comment.