aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests/api')
-rw-r--r--server/tests/api/server/plugins.ts4
1 files changed, 2 insertions, 2 deletions
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 {
23import { PluginType } from '../../../../shared/models/plugins/plugin.type' 23import { PluginType } from '../../../../shared/models/plugins/plugin.type'
24import { PeerTubePluginIndex } from '../../../../shared/models/plugins/peertube-plugin-index.model' 24import { PeerTubePluginIndex } from '../../../../shared/models/plugins/peertube-plugin-index.model'
25import { ServerConfig } from '../../../../shared/models/server' 25import { ServerConfig } from '../../../../shared/models/server'
26import { RegisteredSettings } from '../../../../shared/models/plugins/register-setting.model'
27import { PeerTubePlugin } from '../../../../shared/models/plugins/peertube-plugin.model' 26import { PeerTubePlugin } from '../../../../shared/models/plugins/peertube-plugin.model'
28import { User } from '../../../../shared/models/users' 27import { User } from '../../../../shared/models/users'
29import { PluginPackageJson } from '../../../../shared/models/plugins/plugin-package-json.model' 28import { PluginPackageJson } from '../../../../shared/models/plugins/plugin-package-json.model'
29import { RegisteredServerSettings } from '../../../../shared/models/plugins/register-server-setting.model'
30 30
31const expect = chai.expect 31const expect = chai.expect
32 32
@@ -217,7 +217,7 @@ describe('Test plugins', function () {
217 npmName: 'peertube-plugin-hello-world' 217 npmName: 'peertube-plugin-hello-world'
218 }) 218 })
219 219
220 const settings = (res.body as RegisteredSettings).settings 220 const settings = (res.body as RegisteredServerSettings).settings
221 221
222 expect(settings).to.have.length.at.least(1) 222 expect(settings).to.have.length.at.least(1)
223 223