mirror of
https://git.vectorsigma.ru/public/photoview.git
synced 2026-08-03 18:19:11 +00:00
Drop tables instead of truncating tables. (#1224)
This commit is contained in:
@@ -72,7 +72,7 @@ func DatabaseTest(t *testing.T) *gorm.DB {
|
||||
t.Skip("Database integration tests disabled")
|
||||
}
|
||||
|
||||
if err := test_dbm.SetupOrReset(); err != nil {
|
||||
if err := test_dbm.SetupAndReset(); err != nil {
|
||||
t.Fatalf("failed to setup or reset test database: %v", err)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user