Node.js based forum software built for the modern web
chore: up spam-be-gone, check response of edit email call
Barış Soner Uşaklı7a8e3a482a19
diff --git a/install/package.json b/install/package.jsonindex c13c731fa3..26a3b3ed29 100644--- a/install/package.json+++ b/install/package.json@@ -110,7 +110,7 @@"nodebb-plugin-link-preview": "2.2.9","nodebb-plugin-markdown": "13.2.11","nodebb-plugin-mentions": "5.0.4",- "nodebb-plugin-spam-be-gone": "2.3.9",+ "nodebb-plugin-spam-be-gone": "2.3.10","nodebb-plugin-web-push": "0.9.5","nodebb-rewards-essentials": "1.0.3","nodebb-theme-harmony": "3.3.4",diff --git a/test/controllers.js b/test/controllers.jsindex 170e8392a4..d847217dde 100644--- a/test/controllers.js+++ b/test/controllers.js@@ -814,8 +814,9 @@ describe('Controllers', () => {password: password,},});- // Start email change flow, this- await request.get(`${nconf.get('url')}/me/edit/email`, { jar });+ // Start email change flow, this sets req.session.registration.updateEmail = true+ const result = await request.get(`${nconf.get('url')}/me/edit/email`, { jar });+ assert.strictEqual(result.response.statusCode, 200, JSON.stringify(result.response, null, 2));const { response } = await request.post(`${nconf.get('url')}/register/abort`, {jar,