diff options
Diffstat (limited to 'server/tests/external-plugins/auth-ldap.ts')
-rw-r--r-- | server/tests/external-plugins/auth-ldap.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/tests/external-plugins/auth-ldap.ts b/server/tests/external-plugins/auth-ldap.ts index d99b3badc..b626ab2bb 100644 --- a/server/tests/external-plugins/auth-ldap.ts +++ b/server/tests/external-plugins/auth-ldap.ts | |||
@@ -3,7 +3,7 @@ | |||
3 | import 'mocha' | 3 | import 'mocha' |
4 | import { expect } from 'chai' | 4 | import { expect } from 'chai' |
5 | import { HttpStatusCode } from '@shared/core-utils' | 5 | import { HttpStatusCode } from '@shared/core-utils' |
6 | import { cleanupTests, flushAndRunServer, ServerInfo, setAccessTokensToServers, uploadVideo } from '@shared/extra-utils' | 6 | import { cleanupTests, flushAndRunServer, ServerInfo, setAccessTokensToServers } from '@shared/extra-utils' |
7 | 7 | ||
8 | describe('Official plugin auth-ldap', function () { | 8 | describe('Official plugin auth-ldap', function () { |
9 | let server: ServerInfo | 9 | let server: ServerInfo |
@@ -77,7 +77,7 @@ describe('Official plugin auth-ldap', function () { | |||
77 | }) | 77 | }) |
78 | 78 | ||
79 | it('Should upload a video', async function () { | 79 | it('Should upload a video', async function () { |
80 | await uploadVideo(server.url, accessToken, { name: 'my super video' }) | 80 | await server.videosCommand.upload({ token: accessToken, attributes: { name: 'my super video' } }) |
81 | }) | 81 | }) |
82 | 82 | ||
83 | it('Should not be able to login if the user is banned', async function () { | 83 | it('Should not be able to login if the user is banned', async function () { |