Cleaned up settings cache after test

All tests after this one were in a non-sending email state, which luckily
doesn't affect these tests, but it will affect future ones! This just cleans up
the settings so that they're back to a standard default.
This commit is contained in:
Fabien O'Carroll 2024-08-28 11:59:52 +07:00 committed by Fabien 'egg' O'Carroll
parent 2720791434
commit b012da023d

View File

@ -904,6 +904,7 @@ describe('Members API', function () {
await agent.delete(`/members/${memberFailVerification.id}`);
await configUtils.restore();
settingsCache.set('email_verification_required', false);
});
it('Can add and send a signup confirmation email', async function () {