mirror of https://github.com/Chocobozzz/PeerTube
Fix test
parent
e11f68a356
commit
18327bdf51
|
@ -321,7 +321,7 @@ describe('Test videos API validator', function () {
|
||||||
token: server.accessToken,
|
token: server.accessToken,
|
||||||
fields,
|
fields,
|
||||||
attaches,
|
attaches,
|
||||||
statusCodeExpected: 204
|
statusCodeExpected: 200
|
||||||
})
|
})
|
||||||
|
|
||||||
attaches.videofile = join(__dirname, '..', 'fixtures', 'video_short.mp4')
|
attaches.videofile = join(__dirname, '..', 'fixtures', 'video_short.mp4')
|
||||||
|
@ -331,7 +331,7 @@ describe('Test videos API validator', function () {
|
||||||
token: server.accessToken,
|
token: server.accessToken,
|
||||||
fields,
|
fields,
|
||||||
attaches,
|
attaches,
|
||||||
statusCodeExpected: 204
|
statusCodeExpected: 200
|
||||||
})
|
})
|
||||||
|
|
||||||
attaches.videofile = join(__dirname, '..', 'fixtures', 'video_short.ogv')
|
attaches.videofile = join(__dirname, '..', 'fixtures', 'video_short.ogv')
|
||||||
|
@ -341,7 +341,7 @@ describe('Test videos API validator', function () {
|
||||||
token: server.accessToken,
|
token: server.accessToken,
|
||||||
fields,
|
fields,
|
||||||
attaches,
|
attaches,
|
||||||
statusCodeExpected: 204
|
statusCodeExpected: 200
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue