1
0
Fork 0

rename News category into News & Politics (#1261)

This commit is contained in:
Adnane Belmadiaf 2018-10-14 19:43:17 +02:00 committed by Rigel Kent
parent 0e5ff97f6f
commit 6f2ae7a1aa
3 changed files with 3 additions and 3 deletions

View file

@ -421,7 +421,7 @@ const VIDEO_CATEGORIES = {
8: 'People',
9: 'Comedy',
10: 'Entertainment',
11: 'News',
11: 'News & Politics',
12: 'How To',
13: 'Education',
14: 'Activism',

View file

@ -118,7 +118,7 @@ describe('Test a single server', function () {
const categories = res.body
expect(Object.keys(categories)).to.have.length.above(10)
expect(categories[11]).to.equal('News')
expect(categories[11]).to.equal('News & Politics')
})
it('Should list video licences', async function () {

View file

@ -30,7 +30,7 @@ describe('Test video imports', function () {
const videoHttp: VideoDetails = resHttp.body
expect(videoHttp.name).to.equal('small video - youtube')
expect(videoHttp.category.label).to.equal('News')
expect(videoHttp.category.label).to.equal('News & Politics')
expect(videoHttp.licence.label).to.equal('Attribution')
expect(videoHttp.language.label).to.equal('Unknown')
expect(videoHttp.nsfw).to.be.false