use helper function to create test db connection for planned pg support

This commit is contained in:
Brad Rydzewski
2015-10-19 11:45:53 -07:00
parent 505ec312b5
commit ffd42a1a0e
10 changed files with 46 additions and 41 deletions

View File

@@ -8,7 +8,7 @@ import (
)
func TestUserstore(t *testing.T) {
db := database.Open("sqlite3", ":memory:")
db := database.OpenTest()
defer db.Close()
g := goblin.Goblin(t)