Skip to content

Node.js based forum software built for the modern web

lint: fix lint error

Barış Soner Uşaklıb45e24139092
diff --git a/test/controllers-admin.js b/test/controllers-admin.js
index 347d8d27c6..15dff752d7 100644
--- a/test/controllers-admin.js
+++ b/test/controllers-admin.js
@@ -241,19 +241,20 @@ describe('Admin Controllers', () => {
done();
});
});
- // TODO: renable after nbbpm is fixed
- // it('should load /admin/extend/plugins', function (done) {
- // this.timeout(50000);
- // request(`${nconf.get('url')}/api/admin/extend/plugins`, { jar: jar, json: true }, (err, res, body) => {
- // assert.ifError(err);
- // assert(body.hasOwnProperty('installed'));
- // assert(body.hasOwnProperty('upgradeCount'));
- // assert(body.hasOwnProperty('download'));
- // assert(body.hasOwnProperty('incompatible'));
- // done();
- // });
- // });
-
+ /*
+ TODO: renable after nbbpm is fixed
+ it('should load /admin/extend/plugins', function (done) {
+ this.timeout(50000);
+ request(`${nconf.get('url')}/api/admin/extend/plugins`, { jar: jar, json: true }, (err, res, body) => {
+ assert.ifError(err);
+ assert(body.hasOwnProperty('installed'));
+ assert(body.hasOwnProperty('upgradeCount'));
+ assert(body.hasOwnProperty('download'));
+ assert(body.hasOwnProperty('incompatible'));
+ done();
+ });
+ });
+ */
it('should load /admin/manage/users', (done) => {
request(`${nconf.get('url')}/api/admin/manage/users`, { jar: jar, json: true }, (err, res, body) => {
assert.ifError(err);