diff options
Diffstat (limited to 'server/tests/api/transcoding/update-while-transcoding.ts')
-rw-r--r-- | server/tests/api/transcoding/update-while-transcoding.ts | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/server/tests/api/transcoding/update-while-transcoding.ts b/server/tests/api/transcoding/update-while-transcoding.ts index 5ca923392..8e32ea069 100644 --- a/server/tests/api/transcoding/update-while-transcoding.ts +++ b/server/tests/api/transcoding/update-while-transcoding.ts | |||
@@ -1,7 +1,7 @@ | |||
1 | /* eslint-disable @typescript-eslint/no-unused-expressions,@typescript-eslint/require-await */ | 1 | /* eslint-disable @typescript-eslint/no-unused-expressions,@typescript-eslint/require-await */ |
2 | 2 | ||
3 | import { completeCheckHlsPlaylist } from '@server/tests/shared' | 3 | import { completeCheckHlsPlaylist } from '@server/tests/shared' |
4 | import { areObjectStorageTestsDisabled, wait } from '@shared/core-utils' | 4 | import { areMockObjectStorageTestsDisabled, wait } from '@shared/core-utils' |
5 | import { VideoPrivacy } from '@shared/models' | 5 | import { VideoPrivacy } from '@shared/models' |
6 | import { | 6 | import { |
7 | cleanupTests, | 7 | cleanupTests, |
@@ -130,19 +130,19 @@ describe('Test update video privacy while transcoding', function () { | |||
130 | }) | 130 | }) |
131 | 131 | ||
132 | describe('With object storage enabled', function () { | 132 | describe('With object storage enabled', function () { |
133 | if (areObjectStorageTestsDisabled()) return | 133 | if (areMockObjectStorageTestsDisabled()) return |
134 | 134 | ||
135 | before(async function () { | 135 | before(async function () { |
136 | this.timeout(120000) | 136 | this.timeout(120000) |
137 | 137 | ||
138 | const configOverride = ObjectStorageCommand.getDefaultConfig() | 138 | const configOverride = ObjectStorageCommand.getDefaultMockConfig() |
139 | await ObjectStorageCommand.prepareDefaultBuckets() | 139 | await ObjectStorageCommand.prepareDefaultMockBuckets() |
140 | 140 | ||
141 | await servers[0].kill() | 141 | await servers[0].kill() |
142 | await servers[0].run(configOverride) | 142 | await servers[0].run(configOverride) |
143 | }) | 143 | }) |
144 | 144 | ||
145 | runTestSuite(true, ObjectStorageCommand.getPlaylistBaseUrl()) | 145 | runTestSuite(true, ObjectStorageCommand.getMockPlaylistBaseUrl()) |
146 | }) | 146 | }) |
147 | 147 | ||
148 | after(async function () { | 148 | after(async function () { |