import 'mocha'
import * as chai from 'chai'
import { omit } from 'lodash'
+import { checkBadCountPagination, checkBadSortPagination, checkBadStartPagination } from '@server/tests/shared'
+import { buildAbsoluteFixturePath } from '@shared/core-utils'
+import { HttpStatusCode, VideoChannelUpdate } from '@shared/models'
import {
- buildAbsoluteFixturePath,
ChannelsCommand,
- checkBadCountPagination,
- checkBadSortPagination,
- checkBadStartPagination,
cleanupTests,
createSingleServer,
makeGetRequest,
makeUploadRequest,
PeerTubeServer,
setAccessTokensToServers
-} from '@shared/extra-utils'
-import { HttpStatusCode, VideoChannelUpdate } from '@shared/models'
+} from '@shared/server-commands'
const expect = chai.expect
})
})
- describe('When updating video channel avatar/banner', function () {
+ describe('When updating video channel avatars/banners', function () {
const types = [ 'avatar', 'banner' ]
let path: string