From b45e24139092af6c3d50851a31452b9d28953fdd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Sun, 4 Sep 2022 10:36:57 -0400 Subject: [PATCH] lint: fix lint error --- test/controllers-admin.js | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) 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);