aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/notifications/user-notifications.ts
diff options
context:
space:
mode:
authorWicklow <123956049+wickloww@users.noreply.github.com>2023-03-31 07:12:21 +0000
committerGitHub <noreply@github.com>2023-03-31 09:12:21 +0200
commit05a60d85997c108d39bcfb14f1ffd4c74f8b1e93 (patch)
tree5041a95ef945620a17f25ba934064b41f6bb00b7 /server/tests/api/notifications/user-notifications.ts
parentebd61437c1ec92bea9772924c7051cb00d71f778 (diff)
downloadPeerTube-05a60d85997c108d39bcfb14f1ffd4c74f8b1e93.tar.gz
PeerTube-05a60d85997c108d39bcfb14f1ffd4c74f8b1e93.tar.zst
PeerTube-05a60d85997c108d39bcfb14f1ffd4c74f8b1e93.zip
Feature/Add replay privacy (#5692)
* Add replay settings feature * Fix replay settings behaviour * Fix tests * Fix tests * Fix tests * Update openapi doc and fix tests * Add tests and fix code * Models correction * Add migration and update controller and middleware * Add check params tests * Fix video live middleware * Updated code based on review comments
Diffstat (limited to 'server/tests/api/notifications/user-notifications.ts')
-rw-r--r--server/tests/api/notifications/user-notifications.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/tests/api/notifications/user-notifications.ts b/server/tests/api/notifications/user-notifications.ts
index f945cb6a8..7a8a234c2 100644
--- a/server/tests/api/notifications/user-notifications.ts
+++ b/server/tests/api/notifications/user-notifications.ts
@@ -342,6 +342,7 @@ describe('Test user notifications', function () {
342 privacy: VideoPrivacy.PUBLIC, 342 privacy: VideoPrivacy.PUBLIC,
343 channelId: servers[1].store.channel.id, 343 channelId: servers[1].store.channel.id,
344 saveReplay: true, 344 saveReplay: true,
345 replaySettings: { privacy: VideoPrivacy.PUBLIC },
345 permanentLive: false 346 permanentLive: false
346 } 347 }
347 }) 348 })
@@ -367,6 +368,7 @@ describe('Test user notifications', function () {
367 privacy: VideoPrivacy.PUBLIC, 368 privacy: VideoPrivacy.PUBLIC,
368 channelId: servers[1].store.channel.id, 369 channelId: servers[1].store.channel.id,
369 saveReplay: true, 370 saveReplay: true,
371 replaySettings: { privacy: VideoPrivacy.PUBLIC },
370 permanentLive: true 372 permanentLive: true
371 } 373 }
372 }) 374 })