mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-10-22 12:26:35 +00:00
use helper function to create test db connection for planned pg support
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user