aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/videos/video-privacy.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2023-05-22 09:20:28 +0200
committerChocobozzz <me@florianbigard.com>2023-05-22 09:22:08 +0200
commit33b91e53d21fba295ecf516b717fb36e91990771 (patch)
treec3e6c31636a47b64c164c1e91ee2125bbc61339e /server/tests/api/videos/video-privacy.ts
parent679f8800cdc0ef925fae9ca26fb2892a8f475ad5 (diff)
downloadPeerTube-33b91e53d21fba295ecf516b717fb36e91990771.tar.gz
PeerTube-33b91e53d21fba295ecf516b717fb36e91990771.tar.zst
PeerTube-33b91e53d21fba295ecf516b717fb36e91990771.zip
Remove low timeouts
Default timeout is 30s
Diffstat (limited to 'server/tests/api/videos/video-privacy.ts')
-rw-r--r--server/tests/api/videos/video-privacy.ts4
1 files changed, 0 insertions, 4 deletions
diff --git a/server/tests/api/videos/video-privacy.ts b/server/tests/api/videos/video-privacy.ts
index 264a05d3f..de96bcfcc 100644
--- a/server/tests/api/videos/video-privacy.ts
+++ b/server/tests/api/videos/video-privacy.ts
@@ -99,8 +99,6 @@ describe('Test video privacy', function () {
99 }) 99 })
100 100
101 it('Should not be able to watch the private video with another user', async function () { 101 it('Should not be able to watch the private video with another user', async function () {
102 this.timeout(10000)
103
104 const user = { 102 const user = {
105 username: 'hello', 103 username: 'hello',
106 password: 'super password' 104 password: 'super password'
@@ -254,8 +252,6 @@ describe('Test video privacy', function () {
254 }) 252 })
255 253
256 it('Should set these videos as private and internal', async function () { 254 it('Should set these videos as private and internal', async function () {
257 this.timeout(10000)
258
259 await servers[0].videos.update({ id: internalVideoId, attributes: { privacy: VideoPrivacy.PRIVATE } }) 255 await servers[0].videos.update({ id: internalVideoId, attributes: { privacy: VideoPrivacy.PRIVATE } })
260 await servers[0].videos.update({ id: privateVideoId, attributes: { privacy: VideoPrivacy.INTERNAL } }) 256 await servers[0].videos.update({ id: privateVideoId, attributes: { privacy: VideoPrivacy.INTERNAL } })
261 257