diff options
Diffstat (limited to 'server/tests/api/utils.js')
-rw-r--r-- | server/tests/api/utils.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/tests/api/utils.js b/server/tests/api/utils.js index ea0982e81..1b2f61059 100644 --- a/server/tests/api/utils.js +++ b/server/tests/api/utils.js | |||
@@ -185,7 +185,7 @@ function uploadVideo (url, name, description, fixture, end) { | |||
185 | .set('Accept', 'application/json') | 185 | .set('Accept', 'application/json') |
186 | .field('name', name) | 186 | .field('name', name) |
187 | .field('description', description) | 187 | .field('description', description) |
188 | .attach('input_video', pathUtils.join(__dirname, 'fixtures', fixture)) | 188 | .attach('videofile', pathUtils.join(__dirname, 'fixtures', fixture)) |
189 | .expect(204) | 189 | .expect(204) |
190 | .end(end) | 190 | .end(end) |
191 | } | 191 | } |