diff options
Diffstat (limited to 'server/tests/api/videos/video-nsfw.ts')
-rw-r--r-- | server/tests/api/videos/video-nsfw.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/server/tests/api/videos/video-nsfw.ts b/server/tests/api/videos/video-nsfw.ts index 891148b07..eab7a6991 100644 --- a/server/tests/api/videos/video-nsfw.ts +++ b/server/tests/api/videos/video-nsfw.ts | |||
@@ -148,6 +148,9 @@ describe('Test video NSFW policy', function () { | |||
148 | }) | 148 | }) |
149 | 149 | ||
150 | it('Should display NSFW videos with blur user NSFW policy', async function () { | 150 | it('Should display NSFW videos with blur user NSFW policy', async function () { |
151 | customConfig.instance.defaultNSFWPolicy = 'do_not_list' | ||
152 | await updateCustomConfig(server.url, server.accessToken, customConfig) | ||
153 | |||
151 | for (const res of await getVideosFunctions(userAccessToken)) { | 154 | for (const res of await getVideosFunctions(userAccessToken)) { |
152 | expect(res.body.total).to.equal(2) | 155 | expect(res.body.total).to.equal(2) |
153 | 156 | ||