From fb3c9e2bf5b45d6d283cea4d55cc0d49eb58e3cb Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 29 Dec 2021 14:08:07 +0100 Subject: Translate plugin settings --- server/tests/api/server/plugins.ts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'server/tests/api') diff --git a/server/tests/api/server/plugins.ts b/server/tests/api/server/plugins.ts index e82096c48..76d3e2481 100644 --- a/server/tests/api/server/plugins.ts +++ b/server/tests/api/server/plugins.ts @@ -99,9 +99,11 @@ describe('Test plugins', function () { const theme = config.theme.registered.find(r => r.name === 'background-red') expect(theme).to.not.be.undefined + expect(theme.npmName).to.equal('peertube-theme-background-red') const plugin = config.plugin.registered.find(r => r.name === 'hello-world') expect(plugin).to.not.be.undefined + expect(plugin.npmName).to.equal('peertube-plugin-hello-world') }) it('Should update the default theme in the configuration', async function () { -- cgit v1.2.3