From 09700934b90e2ac7b1b9ed1694d9d4d52735e2e1 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 19 Mar 2018 11:04:40 +0100 Subject: BEARKING CHANGE: Update videos API response before beta --- server/tests/real-world/real-world.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/tests/real-world') diff --git a/server/tests/real-world/real-world.ts b/server/tests/real-world/real-world.ts index f10ca856d..ae02ef64d 100644 --- a/server/tests/real-world/real-world.ts +++ b/server/tests/real-world/real-world.ts @@ -327,7 +327,7 @@ function areDifferences (videos1: Video[], videos2: Video[]) { return `Video ${video1.uuid} has missing video file ${videoFile1.magnetUri}.` } - if (videoFile1.size !== videoFile2.size || videoFile1.resolutionLabel !== videoFile2.resolutionLabel) { + if (videoFile1.size !== videoFile2.size || videoFile1.resolution.label !== videoFile2.resolution.label) { return `Video ${video1.uuid} has different video file ${videoFile1.magnetUri}.` } }) -- cgit v1.2.3