mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 04:14:39 +03:00
@@ -600,10 +600,10 @@ func runTests(m *testing.M) int {
|
||||
err = populateDB()
|
||||
if err != nil {
|
||||
panic(fmt.Sprintf("Could not populate database: %s", err.Error()))
|
||||
} else {
|
||||
// run the tests
|
||||
return m.Run()
|
||||
}
|
||||
|
||||
// run the tests
|
||||
return m.Run()
|
||||
}
|
||||
|
||||
func populateDB() error {
|
||||
|
||||
Reference in New Issue
Block a user