diff options
Diffstat (limited to 'server/tests')
-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 | ||