+ const auths = config.plugin.registeredIdAndPassAuths
+ expect(auths).to.have.lengthOf(7)
+
+ const spyroAuth = auths.find(a => a.authName === 'spyro-auth')
+ expect(spyroAuth).to.not.exist
+ })
+
+ it('Should uninstall the plugin one and do not login existing Crash', async function () {
+ await server.plugins.uninstall({ npmName: 'peertube-plugin-test-id-pass-auth-one' })
+
+ await server.login.login({
+ user: { username: 'crash', password: 'crash password' },
+ expectedStatus: HttpStatusCode.BAD_REQUEST_400
+ })
+ })
+
+ it('Should display the correct configuration', async function () {
+ const config = await server.config.getConfig()