From c74c9be934fa1584edf6f4f7a41f00c4d3f2a8b3 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 12 Feb 2019 11:47:23 +0100 Subject: Refractor published date on video import --- server/tests/api/videos/video-imports.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'server/tests/api/videos') diff --git a/server/tests/api/videos/video-imports.ts b/server/tests/api/videos/video-imports.ts index cd4988553..b04c0b826 100644 --- a/server/tests/api/videos/video-imports.ts +++ b/server/tests/api/videos/video-imports.ts @@ -37,6 +37,7 @@ describe('Test video imports', function () { expect(videoHttp.description).to.equal('this is a super description') expect(videoHttp.tags).to.deep.equal([ 'tag1', 'tag2' ]) expect(videoHttp.files).to.have.lengthOf(1) + expect(videoHttp.originallyPublishedAt).to.equal('2019-01-13T23:00:00.000Z') const resMagnet = await getVideo(url, idMagnet) const videoMagnet: VideoDetails = resMagnet.body -- cgit v1.2.3