refac: decouple persistence and image storage behind driver registries
This commit is contained in:
1 parent
421cfafec3
commit
81e299f09a
46 files changed
+1036
-374
No files matched your search
@@ -6,6 +6,7 @@ import (
|
||||
"RenewCMS/api/pkg/apperr"
|
||||
validator "RenewCMS/api/pkg/validator"
|
||||
"RenewCMS/internal/domain/update"
|
||||
"RenewCMS/internal/infrastructure/persistence/database"
|
||||
infraUpdate "RenewCMS/internal/infrastructure/update"
|
||||
"RenewCMS/internal/infrastructure/useCases"
|
||||
"context"
|
||||
@@ -551,7 +552,7 @@ func TestUpdateBackupBeforeReadyHTTP(t *testing.T) {
|
||||
}
|
||||
backdate(t, path, time.Duration(10-index)*time.Hour)
|
||||
}
|
||||
rig.realBackup = infraUpdate.NewSQLiteDatabaseBackup(newBackupTestDatabase(t), backups, time.Now)
|
||||
rig.realBackup = database.NewSQLiteBackup(newBackupTestDatabase(t), backups, time.Now)
|
||||
rig.rebuild()
|
||||
h := newDownloadHTTP(t, rig)
|
||||
|
||||
|
||||
Reference in new issue
Block a user