mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-27 00:56:13 +01:00
fix: show msg on fail
This commit is contained in:
@@ -1085,7 +1085,7 @@ describe('Controllers', function () {
|
|||||||
request(nconf.get('url') + '/me/bookmarks', { json: true }, function (err, res, body) {
|
request(nconf.get('url') + '/me/bookmarks', { json: true }, function (err, res, body) {
|
||||||
assert.ifError(err);
|
assert.ifError(err);
|
||||||
assert.equal(res.statusCode, 200);
|
assert.equal(res.statusCode, 200);
|
||||||
assert(body.includes('Login to your account'));
|
assert(body.includes('Login to your account'), body.substr(0, 500));
|
||||||
done();
|
done();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user