Add simple scanner integration test

This commit is contained in:
viktorstrate
2021-04-24 18:51:21 +02:00
parent 74cc840a13
commit 761db0639d
16 changed files with 155 additions and 50 deletions

View File

@@ -8,6 +8,7 @@ import (
"testing"
"github.com/joho/godotenv"
"github.com/photoview/photoview/api/utils"
"gorm.io/gorm"
)
@@ -55,6 +56,7 @@ func FilesystemTest(t *testing.T) {
if !*integration_flags.Filesystem {
t.Skip("Filesystem integration tests disabled")
}
utils.ConfigureTestCache(t.TempDir())
}
func DatabaseTest(t *testing.T) *gorm.DB {