sql: adds tests for InTransaction

This commit is contained in:
bergquist committed 2018-06-15 12:46:20 +02:00
1 parent 03dae10e79
commit 09e71e00a3
3 files changed
+69 -3

No files matched your search

+1
View File
@@ -250,6 +250,7 @@ func (ss *SqlStore) readConfig() {
}
func InitTestDB(t *testing.T) *SqlStore {
t.Helper()
sqlstore := &SqlStore{}
sqlstore.skipEnsureAdmin = true
sqlstore.Bus = bus.New()