Skip to content

Node.js based forum software built for the modern web

fix: remove old test

Barış Soner Uşaklı5e8c3761152c
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);