Skip to content
This repository has been 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

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lunny committed Feb 1, 2019
1 parent ceae32f commit cbfaaba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xorm_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ func createEngine(dbType, connStr string) error {
db.Close()
*ignoreSelectUpdate = true
case core.POSTGRES:
db, err := sql.Open(dbType, connStr)
db, err := sql.Open(dbType, strings.Replace(connStr, "xorm_test", "postgres", -1))
if err != nil {
return err
}
Expand Down

0 comments on commit cbfaaba

Please sign in to comment.