From 9ab330b90decf4edf152ff8e1d2948c065766b2c Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 19 Oct 2022 10:43:53 +0200 Subject: Use private ACL for private videos in s3 --- server/tests/api/transcoding/hls.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'server/tests/api/transcoding/hls.ts') diff --git a/server/tests/api/transcoding/hls.ts b/server/tests/api/transcoding/hls.ts index 7b5492cd4..84a53c0bd 100644 --- a/server/tests/api/transcoding/hls.ts +++ b/server/tests/api/transcoding/hls.ts @@ -2,7 +2,7 @@ import { join } from 'path' import { checkDirectoryIsEmpty, checkTmpIsEmpty, completeCheckHlsPlaylist } from '@server/tests/shared' -import { areObjectStorageTestsDisabled } from '@shared/core-utils' +import { areMockObjectStorageTestsDisabled } from '@shared/core-utils' import { HttpStatusCode } from '@shared/models' import { cleanupTests, @@ -150,19 +150,19 @@ describe('Test HLS videos', function () { }) describe('With object storage enabled', function () { - if (areObjectStorageTestsDisabled()) return + if (areMockObjectStorageTestsDisabled()) return before(async function () { this.timeout(120000) - const configOverride = ObjectStorageCommand.getDefaultConfig() - await ObjectStorageCommand.prepareDefaultBuckets() + const configOverride = ObjectStorageCommand.getDefaultMockConfig() + await ObjectStorageCommand.prepareDefaultMockBuckets() await servers[0].kill() await servers[0].run(configOverride) }) - runTestSuite(true, ObjectStorageCommand.getPlaylistBaseUrl()) + runTestSuite(true, ObjectStorageCommand.getMockPlaylistBaseUrl()) }) after(async function () { -- cgit v1.2.3