From 5e8c3761152c8d89e88128a0e02682bd17bb6cbd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Sun, 13 Sep 2020 19:48:41 -0400 Subject: [PATCH] fix: remove old test --- test/controllers.js | 8 -------- 1 file changed, 8 deletions(-) diff --git a/test/controllers.js b/test/controllers.js index 07ceae81eb..73f710d273 100644 --- a/test/controllers.js +++ b/test/controllers.js @@ -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);