diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-12-08 10:41:49 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-12-08 10:41:49 +0100 |
commit | 04e0fc488826f505a8de3ce99113f3cb2fcec147 (patch) | |
tree | 92cfb91ebfd284735026433abd54e4fd560bda41 /server/tests | |
parent | 18327bdf51ff534136d06906ba5c1f228718c371 (diff) | |
download | PeerTube-04e0fc488826f505a8de3ce99113f3cb2fcec147.tar.gz PeerTube-04e0fc488826f505a8de3ce99113f3cb2fcec147.tar.zst PeerTube-04e0fc488826f505a8de3ce99113f3cb2fcec147.zip |
Begin admin design
Diffstat (limited to 'server/tests')
-rw-r--r-- | server/tests/api/users.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/tests/api/users.ts b/server/tests/api/users.ts index 5066e73fc..b3163b1e1 100644 --- a/server/tests/api/users.ts +++ b/server/tests/api/users.ts | |||
@@ -113,7 +113,7 @@ describe('Test users', function () { | |||
113 | 113 | ||
114 | it('Should upload the video with the correct token', async function () { | 114 | it('Should upload the video with the correct token', async function () { |
115 | const videoAttributes = {} | 115 | const videoAttributes = {} |
116 | await uploadVideo(server.url, accessToken, videoAttributes, 204) | 116 | await uploadVideo(server.url, accessToken, videoAttributes) |
117 | const res = await getVideosList(server.url) | 117 | const res = await getVideosList(server.url) |
118 | const video = res.body.data[ 0 ] | 118 | const video = res.body.data[ 0 ] |
119 | 119 | ||
@@ -125,7 +125,7 @@ describe('Test users', function () { | |||
125 | 125 | ||
126 | it('Should upload the video again with the correct token', async function () { | 126 | it('Should upload the video again with the correct token', async function () { |
127 | const videoAttributes = {} | 127 | const videoAttributes = {} |
128 | await uploadVideo(server.url, accessToken, videoAttributes, 204) | 128 | await uploadVideo(server.url, accessToken, videoAttributes) |
129 | }) | 129 | }) |
130 | 130 | ||
131 | it('Should retrieve a video rating', async function () { | 131 | it('Should retrieve a video rating', async function () { |