aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/utils/videos/videos.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests/utils/videos/videos.ts')
-rw-r--r--server/tests/utils/videos/videos.ts2
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
146function removeVideo (url: string, token: string, id: number, expectedStatus = 204) { 146function 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)