Node.js based forum software built for the modern web
check status code
Barış Soner Uşaklı0361849bb1b1
diff --git a/test/controllers.js b/test/controllers.jsindex e79d4da0db..53cdd39788 100644--- a/test/controllers.js+++ b/test/controllers.js@@ -1622,6 +1622,7 @@ describe('Controllers', function () {it('should return osd data', function (done) {request(nconf.get('url') + '/osd.xml', function (err, res, body) {assert.ifError(err);+ assert.equal(res.statusCode, 200);assert(body);done();});@@ -1637,6 +1638,7 @@ describe('Controllers', function () {it('should handle topic malformed uri', function (done) {request(nconf.get('url') + '/topic/1/a%AFc', function (err, res, body) {assert.ifError(err);+ assert.equal(res.statusCode, 200);assert(body);done();});@@ -1645,6 +1647,7 @@ describe('Controllers', function () {it('should handle category malformed uri', function (done) {request(nconf.get('url') + '/category/1/a%AFc', function (err, res, body) {assert.ifError(err);+ assert.equal(res.statusCode, 200);assert(body);done();});