+ expect(config.defaults.p2p.webapp.enabled).to.be.false
+ expect(config.defaults.p2p.embed.enabled).to.be.true
+ })
+
+ it('Should create a user with this default setting', async function () {
+ await server.users.create({ username: 'user_p2p_1' })
+ const userToken = await server.login.getAccessToken('user_p2p_1')
+
+ const { p2pEnabled } = await server.users.getMyInfo({ token: userToken })
+ expect(p2pEnabled).to.be.false
+ })