fix: tests breakage due to 67e3fb6498

v1.18.x
Julian Lam 4 years ago
parent 2326e9a6a7
commit 5c21c33e58

@ -333,7 +333,7 @@ describe('Controllers', function () {
}, function (err, res, body) { }, function (err, res, body) {
assert.ifError(err); assert.ifError(err);
assert.equal(res.statusCode, 200); 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', { request(nconf.get('url') + '/api/register/complete', {
jar: jar, jar: jar,
json: true, json: true,

Loading…
Cancel
Save