aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/utils.js
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2016-03-18 16:44:54 +0100
committerChocobozzz <florian.bigard@gmail.com>2016-03-18 16:44:54 +0100
commit8c9c1942f6b5675cfca802e2f707bef3c217afbf (patch)
treecf86a39e5cda278f29cb6297b90f7ac4ff13dbad /server/tests/api/utils.js
parenta4c157519738d89f8a77143b91e92dfd2e70380a (diff)
downloadPeerTube-8c9c1942f6b5675cfca802e2f707bef3c217afbf.tar.gz
PeerTube-8c9c1942f6b5675cfca802e2f707bef3c217afbf.tar.zst
PeerTube-8c9c1942f6b5675cfca802e2f707bef3c217afbf.zip
Change name of fields for add video api
Diffstat (limited to 'server/tests/api/utils.js')
-rw-r--r--server/tests/api/utils.js2
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}