Skip to content

Node.js based forum software built for the modern web

fix: tests

Barış Soner Uşaklıa032e12b7ee1
diff --git a/test/controllers-admin.js b/test/controllers-admin.js
index 371685866f..d38f2884c3 100644
--- a/test/controllers-admin.js
+++ b/test/controllers-admin.js
@@ -395,7 +395,7 @@ describe('Admin Controllers', function () {
request(nconf.get('url') + '/api/admin/advanced/errors/export', { jar: jar }, function (err, res, body) {
assert.ifError(err);
assert.equal(res.statusCode, 200);
- assert(body);
+ assert.strictEqual(body, '');
done();
});
});