From 9ae88819c202a6ce4a36b56506f508a5603e8eab Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 24 Jul 2019 11:17:42 +0200 Subject: Change plugin models names --- server/tests/api/server/plugins.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'server/tests/api') diff --git a/server/tests/api/server/plugins.ts b/server/tests/api/server/plugins.ts index b3d003f45..f8b2d78c9 100644 --- a/server/tests/api/server/plugins.ts +++ b/server/tests/api/server/plugins.ts @@ -23,10 +23,10 @@ import { import { PluginType } from '../../../../shared/models/plugins/plugin.type' import { PeerTubePluginIndex } from '../../../../shared/models/plugins/peertube-plugin-index.model' import { ServerConfig } from '../../../../shared/models/server' -import { RegisteredSettings } from '../../../../shared/models/plugins/register-setting.model' import { PeerTubePlugin } from '../../../../shared/models/plugins/peertube-plugin.model' import { User } from '../../../../shared/models/users' import { PluginPackageJson } from '../../../../shared/models/plugins/plugin-package-json.model' +import { RegisteredServerSettings } from '../../../../shared/models/plugins/register-server-setting.model' const expect = chai.expect @@ -217,7 +217,7 @@ describe('Test plugins', function () { npmName: 'peertube-plugin-hello-world' }) - const settings = (res.body as RegisteredSettings).settings + const settings = (res.body as RegisteredServerSettings).settings expect(settings).to.have.length.at.least(1) -- cgit v1.2.3