createUser,
deleteVideoChannel,
flushTests,
- getAccountVideoChannelsList, getMyUserInformation,
+ getAccountVideoChannelsList,
+ getMyUserInformation,
getVideoChannelsList,
immutableAssign,
killallServers,
userLogin
} from '../../utils'
import { checkBadCountPagination, checkBadSortPagination, checkBadStartPagination } from '../../utils/requests/check-api-params'
-import { getAccountsList } from '../../utils/users/accounts'
import { User } from '../../../../shared/models/users'
const expect = chai.expect
})
describe('When listing account video channels', function () {
- it('Should fail with bad account', async function () {
- await getAccountVideoChannelsList(server.url, 'hello', 400)
- })
-
it('Should fail with a unknown account', async function () {
- await getAccountVideoChannelsList(server.url, 154, 404)
+ await getAccountVideoChannelsList(server.url, 'unknown', 404)
})
})