diff options
author | Chocobozzz <me@florianbigard.com> | 2023-01-19 14:09:57 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2023-01-19 14:09:57 +0100 |
commit | 32fde390f465b9ceef9e49c4037acdacbe176d65 (patch) | |
tree | bd0f28ac72d0e920387da7d4e68cf73bba736bbc /server/tests/api | |
parent | 1f6dd0084485e10623aeb222f1429edf30e5f823 (diff) | |
download | PeerTube-32fde390f465b9ceef9e49c4037acdacbe176d65.tar.gz PeerTube-32fde390f465b9ceef9e49c4037acdacbe176d65.tar.zst PeerTube-32fde390f465b9ceef9e49c4037acdacbe176d65.zip |
Use unknown when category is not set
Unstead of Misc, that could be a real category
Diffstat (limited to 'server/tests/api')
-rw-r--r-- | server/tests/api/videos/video-imports.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/tests/api/videos/video-imports.ts b/server/tests/api/videos/video-imports.ts index 0583134b2..5636de45f 100644 --- a/server/tests/api/videos/video-imports.ts +++ b/server/tests/api/videos/video-imports.ts | |||
@@ -41,7 +41,7 @@ async function checkVideosServer1 (server: PeerTubeServer, idHttp: string, idMag | |||
41 | const videoTorrent = await server.videos.get({ id: idTorrent }) | 41 | const videoTorrent = await server.videos.get({ id: idTorrent }) |
42 | 42 | ||
43 | for (const video of [ videoMagnet, videoTorrent ]) { | 43 | for (const video of [ videoMagnet, videoTorrent ]) { |
44 | expect(video.category.label).to.equal('Misc') | 44 | expect(video.category.label).to.equal('Unknown') |
45 | expect(video.licence.label).to.equal('Unknown') | 45 | expect(video.licence.label).to.equal('Unknown') |
46 | expect(video.language.label).to.equal('Unknown') | 46 | expect(video.language.label).to.equal('Unknown') |
47 | expect(video.nsfw).to.be.false | 47 | expect(video.nsfw).to.be.false |