sql: adds tests for InTransaction

This commit is contained in:
bergquist
2018-06-14 19:07:33 +02:00
parent 03dae10e79
commit 09e71e00a3
3 changed files with 69 additions and 3 deletions
+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()