diff options
Diffstat (limited to 'server/tests/plugins')
-rw-r--r-- | server/tests/plugins/plugin-helpers.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/tests/plugins/plugin-helpers.ts b/server/tests/plugins/plugin-helpers.ts index 242994273..5d16b28a4 100644 --- a/server/tests/plugins/plugin-helpers.ts +++ b/server/tests/plugins/plugin-helpers.ts | |||
@@ -232,7 +232,7 @@ describe('Test plugin helpers', function () { | |||
232 | this.timeout(40000) | 232 | this.timeout(40000) |
233 | 233 | ||
234 | // Should not throw -> video exists | 234 | // Should not throw -> video exists |
235 | await servers[0].videos.get({ id: videoUUID }) | 235 | const video = await servers[0].videos.get({ id: videoUUID }) |
236 | // Should delete the video | 236 | // Should delete the video |
237 | await servers[0].videos.view({ id: videoUUID }) | 237 | await servers[0].videos.view({ id: videoUUID }) |
238 | 238 | ||
@@ -246,7 +246,7 @@ describe('Test plugin helpers', function () { | |||
246 | if (err.message.includes('exists')) throw err | 246 | if (err.message.includes('exists')) throw err |
247 | } | 247 | } |
248 | 248 | ||
249 | await checkVideoFilesWereRemoved(videoUUID, servers[0]) | 249 | await checkVideoFilesWereRemoved({ server: servers[0], video }) |
250 | }) | 250 | }) |
251 | 251 | ||
252 | it('Should have fetched the video by URL', async function () { | 252 | it('Should have fetched the video by URL', async function () { |