Validate environment

This commit is contained in:
2025-12-11 16:35:41 +01:00
parent 7418bca56b
commit 018e11b595
7 changed files with 371 additions and 330 deletions

View File

@@ -56,7 +56,7 @@ class ChannelDirectoryServiceTest {
setupInMemoryPersistence();
Path assetRoot = Files.createTempDirectory("imgfloat-assets-test");
Path previewRoot = Files.createTempDirectory("imgfloat-previews-test");
AssetStorageService assetStorageService = new AssetStorageService(assetRoot.toString(), previewRoot.toString());
AssetStorageService assetStorageService = new AssetStorageService(assetRoot.toString(), previewRoot.toString(), 26214400L);
MediaPreviewService mediaPreviewService = new MediaPreviewService();
MediaOptimizationService mediaOptimizationService = new MediaOptimizationService(mediaPreviewService);
MediaDetectionService mediaDetectionService = new MediaDetectionService();

View File

@@ -20,7 +20,7 @@ class AssetStorageServiceTest {
void setUp() throws IOException {
assets = Files.createTempDirectory("asset-storage-service");
previews = Files.createTempDirectory("preview-storage-service");
service = new AssetStorageService(assets.toString(), previews.toString());
service = new AssetStorageService(assets.toString(), previews.toString(), 26214400L);
}
@Test