aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/users
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2017-12-28 15:25:31 +0100
committerChocobozzz <me@florianbigard.com>2017-12-28 15:25:31 +0100
commit26d21b7867c225d99e0625af51da4643e351d86d (patch)
tree5fa3f0482749eb1001c8b6fad7d9710298c31724 /server/tests/api/users
parent331128ed3512aa2c1b632e25ac7ac0174bdb3789 (diff)
downloadPeerTube-26d21b7867c225d99e0625af51da4643e351d86d.tar.gz
PeerTube-26d21b7867c225d99e0625af51da4643e351d86d.tar.zst
PeerTube-26d21b7867c225d99e0625af51da4643e351d86d.zip
Improve check users parameters tests
Diffstat (limited to 'server/tests/api/users')
-rw-r--r--server/tests/api/users/users.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/tests/api/users/users.ts b/server/tests/api/users/users.ts
index 298dbce2c..ec164cadc 100644
--- a/server/tests/api/users/users.ts
+++ b/server/tests/api/users/users.ts
@@ -11,7 +11,7 @@ import {
11 getUserInformation, 11 getUserInformation,
12 getUsersList, 12 getUsersList,
13 getUsersListPaginationAndSort, 13 getUsersListPaginationAndSort,
14 getUserVideoRating, 14 getMyUserVideoRating,
15 getVideosList, 15 getVideosList,
16 killallServers, 16 killallServers,
17 login, 17 login,
@@ -130,7 +130,7 @@ describe('Test users', function () {
130 130
131 it('Should retrieve a video rating', async function () { 131 it('Should retrieve a video rating', async function () {
132 await rateVideo(server.url, accessToken, videoId, 'like') 132 await rateVideo(server.url, accessToken, videoId, 'like')
133 const res = await getUserVideoRating(server.url, accessToken, videoId) 133 const res = await getMyUserVideoRating(server.url, accessToken, videoId)
134 const rating = res.body 134 const rating = res.body
135 135
136 expect(rating.videoId) 136 expect(rating.videoId)