diff --git a/packages/tests/src/external-plugins/privacy-remover.ts b/packages/tests/src/external-plugins/privacy-remover.ts index ed10fd868..467234f03 100644 --- a/packages/tests/src/external-plugins/privacy-remover.ts +++ b/packages/tests/src/external-plugins/privacy-remover.ts @@ -56,6 +56,15 @@ describe('Official plugin Privacy Remover', function () { const video = await servers[0].videos.find({ name: 'remote public' }) expect(video).to.not.exist }) + + it('Should not have public privacy after a server restart', async function () { + await servers[0].kill() + await servers[0].run() + + const privacies = await servers[0].videos.getPrivacies() + + expect(privacies[VideoPrivacy.PUBLIC]).to.not.exist + }) }) describe('When enabling public privacy', function () {