mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-11-02 02:53:19 +00:00
ability to drive database test connections from env variables
This commit is contained in:
@@ -8,7 +8,7 @@ import (
|
||||
)
|
||||
|
||||
func TestUserstore(t *testing.T) {
|
||||
db := MustConnect("sqlite3", ":memory:")
|
||||
db := mustConnectTest()
|
||||
us := NewUserstore(db)
|
||||
defer db.Close()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user