mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 16:46:12 +01:00
test: disable nbbpm test temporarily
This commit is contained in:
@@ -241,18 +241,18 @@ describe('Admin Controllers', () => {
|
||||
done();
|
||||
});
|
||||
});
|
||||
|
||||
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) => {
|
||||
|
||||
Reference in New Issue
Block a user