1 /* tslint:disable:no-unused-expression */
7 setAccessTokensToServers,
11 describe('Test remote videos API validators', function () {
12 let server: ServerInfo
14 // ---------------------------------------------------------------
16 before(async function () {
21 server = await runServer(1)
23 await setAccessTokensToServers([ server ])
26 describe('When making a secure request', async function () {
27 it('Should check a secure request')
30 describe('When adding a video', async function () {
31 it('Should check when adding a video')
33 it('Should not add an existing uuid')
36 describe('When removing a video', async function () {
37 it('Should check when removing a video')
40 describe('When reporting abuse on a video', async function () {
41 it('Should check when reporting a video abuse')
44 after(async function () {
45 killallServers([ server ])
47 // Keep the logs if the test failed