fix: remove old test

v1.18.x
Barış Soner Uşaklı 4 years ago
parent de824007d9
commit 5e8c376115

@ -2147,14 +2147,6 @@ describe('Controllers', function () {
});
});
it('should 404 if filter is invalid', function (done) {
request(nconf.get('url') + '/api/unread/total?filter=doesnotexist', { jar: jar }, function (err, res) {
assert.ifError(err);
assert.equal(res.statusCode, 404);
done();
});
});
it('should return total unread count', function (done) {
request(nconf.get('url') + '/api/unread/total?filter=new', { jar: jar }, function (err, res, body) {
assert.ifError(err);

Loading…
Cancel
Save