mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 16:46:12 +01:00
fix: test
This commit is contained in:
@@ -2047,8 +2047,8 @@ describe('Controllers', function () {
|
||||
request(nconf.get('url') + '/api/category/' + category.slug, { jar: jar, json: true }, function (err, res, body) {
|
||||
assert.ifError(err);
|
||||
assert.equal(res.statusCode, 200);
|
||||
assert.equal(res.headers['x-redirect'], 'https://nodebb.org');
|
||||
assert.equal(body, 'https://nodebb.org');
|
||||
assert.equal(res.headers['x-redirect'], 'https://nodebb.org');
|
||||
assert.equal(body, 'https://nodebb.org');
|
||||
next();
|
||||
});
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user