From ec3ce76f195467bcc4f30b0844b63f5495162f8f Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 20 Dec 2022 09:25:18 +0100 Subject: Prefer displaying channel in rss feeds --- server/tests/feeds/feeds.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'server/tests') diff --git a/server/tests/feeds/feeds.ts b/server/tests/feeds/feeds.ts index 906dab1a3..7345f728a 100644 --- a/server/tests/feeds/feeds.ts +++ b/server/tests/feeds/feeds.ts @@ -189,7 +189,7 @@ describe('Test syndication feeds', () => { const jsonObj = JSON.parse(json) expect(jsonObj.items.length).to.be.equal(1) expect(jsonObj.items[0].title).to.equal('my super name for server 1') - expect(jsonObj.items[0].author.name).to.equal('root') + expect(jsonObj.items[0].author.name).to.equal('Main root channel') } { @@ -197,7 +197,7 @@ describe('Test syndication feeds', () => { const jsonObj = JSON.parse(json) expect(jsonObj.items.length).to.be.equal(1) expect(jsonObj.items[0].title).to.equal('user video') - expect(jsonObj.items[0].author.name).to.equal('john') + expect(jsonObj.items[0].author.name).to.equal('Main john channel') } for (const server of servers) { @@ -223,7 +223,7 @@ describe('Test syndication feeds', () => { const jsonObj = JSON.parse(json) expect(jsonObj.items.length).to.be.equal(1) expect(jsonObj.items[0].title).to.equal('my super name for server 1') - expect(jsonObj.items[0].author.name).to.equal('root') + expect(jsonObj.items[0].author.name).to.equal('Main root channel') } { @@ -231,7 +231,7 @@ describe('Test syndication feeds', () => { const jsonObj = JSON.parse(json) expect(jsonObj.items.length).to.be.equal(1) expect(jsonObj.items[0].title).to.equal('user video') - expect(jsonObj.items[0].author.name).to.equal('john') + expect(jsonObj.items[0].author.name).to.equal('Main john channel') } for (const server of servers) { -- cgit v1.2.3