Fix setting up keyvalue storage in tests

This commit is contained in:
kolaente 2021-07-30 15:31:51 +02:00
parent d746c1bede
commit 9c2a59582a
Signed by untrusted user who does not match committer: konrad
GPG key ID: F40E70337AB24C9B
2 changed files with 6 additions and 2 deletions

View file

@ -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()
}