Fix setting up keyvalue storage in tests
This commit is contained in:
parent
d746c1bede
commit
9c2a59582a
2 changed files with 6 additions and 2 deletions
|
|
@ -20,6 +20,7 @@ import (
|
|||
"code.vikunja.io/api/pkg/db"
|
||||
"code.vikunja.io/api/pkg/events"
|
||||
"code.vikunja.io/api/pkg/log"
|
||||
"code.vikunja.io/api/pkg/modules/keyvalue"
|
||||
)
|
||||
|
||||
// InitTests handles the actual bootstrapping of the test env
|
||||
|
|
@ -40,4 +41,6 @@ func InitTests() {
|
|||
}
|
||||
|
||||
events.Fake()
|
||||
|
||||
keyvalue.InitStorage()
|
||||
}
|
||||
|
|
|
|||
Reference in a new issue