Disable HTTP import in push actions
This commit is contained in:
parent
1648dcb509
commit
5c0ecc340e
|
@ -2,8 +2,10 @@
|
||||||
|
|
||||||
import 'mocha'
|
import 'mocha'
|
||||||
import { expect } from 'chai'
|
import { expect } from 'chai'
|
||||||
|
import { Video, VideoDetails } from '../../../shared'
|
||||||
import {
|
import {
|
||||||
addVideoChannel,
|
addVideoChannel,
|
||||||
|
areHttpImportTestsDisabled,
|
||||||
buildAbsoluteFixturePath,
|
buildAbsoluteFixturePath,
|
||||||
cleanupTests,
|
cleanupTests,
|
||||||
createUser,
|
createUser,
|
||||||
|
@ -21,7 +23,6 @@ import {
|
||||||
userLogin,
|
userLogin,
|
||||||
waitJobs
|
waitJobs
|
||||||
} from '../../../shared/extra-utils'
|
} from '../../../shared/extra-utils'
|
||||||
import { Video, VideoDetails } from '../../../shared'
|
|
||||||
import { getYoutubeVideoUrl } from '../../../shared/extra-utils/videos/video-imports'
|
import { getYoutubeVideoUrl } from '../../../shared/extra-utils/videos/video-imports'
|
||||||
|
|
||||||
describe('Test CLI wrapper', function () {
|
describe('Test CLI wrapper', function () {
|
||||||
|
@ -112,6 +113,8 @@ describe('Test CLI wrapper', function () {
|
||||||
})
|
})
|
||||||
|
|
||||||
it('Should import a video', async function () {
|
it('Should import a video', async function () {
|
||||||
|
if (areHttpImportTestsDisabled()) return
|
||||||
|
|
||||||
this.timeout(60000)
|
this.timeout(60000)
|
||||||
|
|
||||||
const env = getEnvCli(server)
|
const env = getEnvCli(server)
|
||||||
|
@ -122,6 +125,8 @@ describe('Test CLI wrapper', function () {
|
||||||
})
|
})
|
||||||
|
|
||||||
it('Should have imported the video', async function () {
|
it('Should have imported the video', async function () {
|
||||||
|
if (areHttpImportTestsDisabled()) return
|
||||||
|
|
||||||
this.timeout(60000)
|
this.timeout(60000)
|
||||||
|
|
||||||
await waitJobs([ server ])
|
await waitJobs([ server ])
|
||||||
|
@ -144,6 +149,8 @@ describe('Test CLI wrapper', function () {
|
||||||
})
|
})
|
||||||
|
|
||||||
it('Should import and override some imported attributes', async function () {
|
it('Should import and override some imported attributes', async function () {
|
||||||
|
if (areHttpImportTestsDisabled()) return
|
||||||
|
|
||||||
this.timeout(60000)
|
this.timeout(60000)
|
||||||
|
|
||||||
const env = getEnvCli(server)
|
const env = getEnvCli(server)
|
||||||
|
|
Loading…
Reference in New Issue