From ecb455b6c42bd75c9d87294c2479fa53b739d0a8 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 3 Oct 2017 16:04:14 +0200 Subject: Add migration script --- server/tests/api/multiple-pods.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'server/tests') diff --git a/server/tests/api/multiple-pods.ts b/server/tests/api/multiple-pods.ts index 9860935e5..c43793b30 100644 --- a/server/tests/api/multiple-pods.ts +++ b/server/tests/api/multiple-pods.ts @@ -197,22 +197,22 @@ describe('Test multiple pods', function () { expect(originalFile.resolutionLabel).to.equal('original') expect(originalFile.size).to.equal(711327) - const file240p = video.files.find(f => f.resolution === 1) + const file240p = video.files.find(f => f.resolution === 240) expect(file240p).not.to.be.undefined expect(file240p.resolutionLabel).to.equal('240p') expect(file240p.size).to.equal(139953) - const file360p = video.files.find(f => f.resolution === 2) + const file360p = video.files.find(f => f.resolution === 360) expect(file360p).not.to.be.undefined expect(file360p.resolutionLabel).to.equal('360p') expect(file360p.size).to.equal(169926) - const file480p = video.files.find(f => f.resolution === 3) + const file480p = video.files.find(f => f.resolution === 480) expect(file480p).not.to.be.undefined expect(file480p.resolutionLabel).to.equal('480p') expect(file480p.size).to.equal(206758) - const file720p = video.files.find(f => f.resolution === 4) + const file720p = video.files.find(f => f.resolution === 720) expect(file720p).not.to.be.undefined expect(file720p.resolutionLabel).to.equal('720p') expect(file720p.size).to.equal(314913) -- cgit v1.2.3