fix: show msg on fail

This commit is contained in:
Barış Soner Uşaklı
2020-11-07 22:40:34 -05:00
parent fe63c6aef3
commit 255cf43ea9

View File

@@ -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();
});
});