aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-07-24 11:17:42 +0200
committerChocobozzz <me@florianbigard.com>2019-07-24 11:17:42 +0200
commit9ae88819c202a6ce4a36b56506f508a5603e8eab (patch)
tree4936990dff918ceabe835dfa7192e5e4c6211dc6 /server/tests/api
parent5f189c9c85449951254646ddf6cd6c84bc4c06ff (diff)
downloadPeerTube-9ae88819c202a6ce4a36b56506f508a5603e8eab.tar.gz
PeerTube-9ae88819c202a6ce4a36b56506f508a5603e8eab.tar.zst
PeerTube-9ae88819c202a6ce4a36b56506f508a5603e8eab.zip
Change plugin models names
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