mirror of
https://github.com/imgfloat/server.git
synced 2026-11-05 06:44:08 +00:00
Validate environment
This commit is contained in:
1 parent
7418bca56b
commit
018e11b595
7 files changed
+371
-330
No files matched your search
@@ -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();
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in new issue
Block a user