From 5c21c33e5880ef8ded7271a30270a0d35ed1131c Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Fri, 5 Feb 2021 14:30:30 -0500 Subject: [PATCH] fix: tests breakage due to 67e3fb64981fe2310b17515e1f18c32021a5e983 --- test/controllers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/controllers.js b/test/controllers.js index 6482163e06..9ee7b93695 100644 --- a/test/controllers.js +++ b/test/controllers.js @@ -333,7 +333,7 @@ describe('Controllers', function () { }, function (err, res, body) { assert.ifError(err); assert.equal(res.statusCode, 200); - assert.equal(body.referrer, nconf.get('relative_path') + '/register/complete'); + assert.strictEqual(body.next, nconf.get('relative_path') + '/register/complete'); request(nconf.get('url') + '/api/register/complete', { jar: jar, json: true,