Skip to content
This repository was archived by the owner on Sep 7, 2021. It is now read-only.
This repository is currently being migrated. It's locked while the migration is in progress.

Commit cbfaaba

Browse files
committed
fix tests
1 parent ceae32f commit cbfaaba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xorm_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ func createEngine(dbType, connStr string) error {
5454
db.Close()
5555
*ignoreSelectUpdate = true
5656
case core.POSTGRES:
57-
db, err := sql.Open(dbType, connStr)
57+
db, err := sql.Open(dbType, strings.Replace(connStr, "xorm_test", "postgres", -1))
5858
if err != nil {
5959
return err
6060
}

0 commit comments

Comments
 (0)