diff options
author | Chocobozzz <me@florianbigard.com> | 2017-12-28 16:26:28 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2017-12-28 16:30:58 +0100 |
commit | 11ba2ab3f1e3ec29b3765fa0c1ff4ed410c851a9 (patch) | |
tree | 2adb1d78aaf42dfd817d628abff12a618a6ae8f0 /server/tests/utils/videos/videos.ts | |
parent | 26d21b7867c225d99e0625af51da4643e351d86d (diff) | |
download | PeerTube-11ba2ab3f1e3ec29b3765fa0c1ff4ed410c851a9.tar.gz PeerTube-11ba2ab3f1e3ec29b3765fa0c1ff4ed410c851a9.tar.zst PeerTube-11ba2ab3f1e3ec29b3765fa0c1ff4ed410c851a9.zip |
Improve check videos parameters tests
Diffstat (limited to 'server/tests/utils/videos/videos.ts')
-rw-r--r-- | server/tests/utils/videos/videos.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/tests/utils/videos/videos.ts b/server/tests/utils/videos/videos.ts index fefee4878..166253ffc 100644 --- a/server/tests/utils/videos/videos.ts +++ b/server/tests/utils/videos/videos.ts | |||
@@ -143,7 +143,7 @@ function getVideosListSort (url: string, sort: string) { | |||
143 | .expect('Content-Type', /json/) | 143 | .expect('Content-Type', /json/) |
144 | } | 144 | } |
145 | 145 | ||
146 | function removeVideo (url: string, token: string, id: number, expectedStatus = 204) { | 146 | function removeVideo (url: string, token: string, id: number | string, expectedStatus = 204) { |
147 | const path = '/api/v1/videos' | 147 | const path = '/api/v1/videos' |
148 | 148 | ||
149 | return request(url) | 149 | return request(url) |