mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 08:36:12 +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) {
|
||||
assert.ifError(err);
|
||||
assert.equal(res.statusCode, 200);
|
||||
assert(body.includes('Login to your account'));
|
||||
assert(body.includes('Login to your account'), body.substr(0, 500));
|
||||
done();
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user