Node.js based forum software built for the modern web
test: remove .only
Julian Lam8df05a3c4897
diff --git a/test/controllers.js b/test/controllers.jsindex 45080cd80e..bc519a8369 100644--- a/test/controllers.js+++ b/test/controllers.js@@ -1858,7 +1858,7 @@ describe('Controllers', () => {assert.equal(result.body, '/recent');});- it.only('should redirect to home if link is unsafe', async () => {+ it('should redirect to home if link is unsafe', async () => {const result = await request.get(`${nconf.get('url')}/api/ap?resource=javascript:alert(origin)`, { jar });assert.equal(result.response.headers['x-redirect'], encodeURIComponent('/'));assert.equal(result.body.external, '/');