From c729caf6cc34630877a0e5a1bda1719384cd0c8a Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 11 Feb 2022 10:51:33 +0100 Subject: Add basic video editor support --- server/tests/cli/update-host.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'server/tests/cli') diff --git a/server/tests/cli/update-host.ts b/server/tests/cli/update-host.ts index da89ff153..7c49efd20 100644 --- a/server/tests/cli/update-host.ts +++ b/server/tests/cli/update-host.ts @@ -12,6 +12,7 @@ import { setAccessTokensToServers, waitJobs } from '@shared/server-commands' +import { getAllFiles } from '../shared' describe('Test update host scripts', function () { let server: PeerTubeServer @@ -108,7 +109,7 @@ describe('Test update host scripts', function () { for (const video of data) { const videoDetails = await server.videos.get({ id: video.id }) - const files = videoDetails.files.concat(videoDetails.streamingPlaylists[0].files) + const files = getAllFiles(videoDetails) expect(files).to.have.lengthOf(8) -- cgit v1.2.3