fix: remove old test

This commit is contained in:
Barış Soner Uşaklı
2020-09-13 19:48:41 -04:00
parent de824007d9
commit 5e8c376115

View File

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