1 /* tslint:disable:no-unused-expression */
9 setAccessTokensToServers,
13 describe('Test remote videos API validators', function () {
14 let server: ServerInfo
16 // ---------------------------------------------------------------
18 before(async function () {
23 server = await runServer(1)
25 await setAccessTokensToServers([ server ])
28 describe('When making a secure request', async function () {
29 it('Should check a secure request')
32 describe('When adding a video', async function () {
33 it('Should check when adding a video')
35 it('Should not add an existing uuid')
38 describe('When removing a video', async function () {
39 it('Should check when removing a video')
42 describe('When reporting abuse on a video', async function () {
43 it('Should check when reporting a video abuse')
46 after(async function () {
47 killallServers([ server ])
49 // Keep the logs if the test failed