aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/videos/videos-history.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests/api/videos/videos-history.ts')
-rw-r--r--server/tests/api/videos/videos-history.ts3
1 files changed, 1 insertions, 2 deletions
diff --git a/server/tests/api/videos/videos-history.ts b/server/tests/api/videos/videos-history.ts
index 9a7635c35..256271bd0 100644
--- a/server/tests/api/videos/videos-history.ts
+++ b/server/tests/api/videos/videos-history.ts
@@ -16,7 +16,6 @@ import {
16 setAccessTokensToServers, 16 setAccessTokensToServers,
17 updateMyUser, 17 updateMyUser,
18 uploadVideo, 18 uploadVideo,
19 userLogin,
20 wait 19 wait
21} from '@shared/extra-utils' 20} from '@shared/extra-utils'
22import { Video, VideoDetails } from '@shared/models' 21import { Video, VideoDetails } from '@shared/models'
@@ -61,7 +60,7 @@ describe('Test videos history', function () {
61 password: 'super password' 60 password: 'super password'
62 } 61 }
63 await createUser({ url: server.url, accessToken: server.accessToken, username: user.username, password: user.password }) 62 await createUser({ url: server.url, accessToken: server.accessToken, username: user.username, password: user.password })
64 userAccessToken = await userLogin(server, user) 63 userAccessToken = await server.loginCommand.getAccessToken(user)
65 }) 64 })
66 65
67 it('Should get videos, without watching history', async function () { 66 it('Should get videos, without watching history', async function () {