]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/tests/api/videos/video-nsfw.ts
Set bitrate limits for transcoding (fixes #638) (#1135)
[github/Chocobozzz/PeerTube.git] / server / tests / api / videos / video-nsfw.ts
index 891148b07260858869b4fbe7b88e1e8ad211f4d0..eab7a6991e5a6c145687d4b9a0bc14793bf8d552 100644 (file)
@@ -148,6 +148,9 @@ describe('Test video NSFW policy', function () {
     })
 
     it('Should display NSFW videos with blur user NSFW policy', async function () {
+      customConfig.instance.defaultNSFWPolicy = 'do_not_list'
+      await updateCustomConfig(server.url, server.accessToken, customConfig)
+
       for (const res of await getVideosFunctions(userAccessToken)) {
         expect(res.body.total).to.equal(2)