- expect(videoDetail.files).to.have.lengthOf(4)
- expect(videoDetail.streamingPlaylists).to.have.lengthOf(1)
- expect(videoDetail.streamingPlaylists[0].files).to.have.lengthOf(4)
+ if (objectStorage) {
+ await checkFilesInObjectStorage(videoDetails.files, 'webtorrent')
+ await checkFilesInObjectStorage(videoDetails.streamingPlaylists[0].files, 'playlist')
+ }
+ }
+ })
+
+ it('Should not have updated published at attributes', async function () {
+ for (const id of videosUUID) {
+ const video = await servers[0].videos.get({ id })
+
+ expect(publishedAt.some(p => video.publishedAt === p)).to.be.true