diff options
author | Chocobozzz <me@florianbigard.com> | 2019-07-24 11:17:42 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-07-24 11:17:42 +0200 |
commit | 9ae88819c202a6ce4a36b56506f508a5603e8eab (patch) | |
tree | 4936990dff918ceabe835dfa7192e5e4c6211dc6 /server/tests/api | |
parent | 5f189c9c85449951254646ddf6cd6c84bc4c06ff (diff) | |
download | PeerTube-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.ts | 4 |
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 { | |||
23 | import { PluginType } from '../../../../shared/models/plugins/plugin.type' | 23 | import { PluginType } from '../../../../shared/models/plugins/plugin.type' |
24 | import { PeerTubePluginIndex } from '../../../../shared/models/plugins/peertube-plugin-index.model' | 24 | import { PeerTubePluginIndex } from '../../../../shared/models/plugins/peertube-plugin-index.model' |
25 | import { ServerConfig } from '../../../../shared/models/server' | 25 | import { ServerConfig } from '../../../../shared/models/server' |
26 | import { RegisteredSettings } from '../../../../shared/models/plugins/register-setting.model' | ||
27 | import { PeerTubePlugin } from '../../../../shared/models/plugins/peertube-plugin.model' | 26 | import { PeerTubePlugin } from '../../../../shared/models/plugins/peertube-plugin.model' |
28 | import { User } from '../../../../shared/models/users' | 27 | import { User } from '../../../../shared/models/users' |
29 | import { PluginPackageJson } from '../../../../shared/models/plugins/plugin-package-json.model' | 28 | import { PluginPackageJson } from '../../../../shared/models/plugins/plugin-package-json.model' |
29 | import { RegisteredServerSettings } from '../../../../shared/models/plugins/register-server-setting.model' | ||
30 | 30 | ||
31 | const expect = chai.expect | 31 | const 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 | ||