Skip to content

Commit

Permalink
lint: fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
barisusakli committed Sep 4, 2022
1 parent 1dc79d7 commit b45e241
Showing 1 changed file with 14 additions and 13 deletions.
27 changes: 14 additions & 13 deletions test/controllers-admin.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit b45e241

Please sign in to comment.