sql: adds tests for InTransaction
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user