Recent refactor (#6879)

* wip

* fix inf scroll

* remove duplicated code

* remove dupe code in /unread

* use topicList

* update tag page to use topicList

* fix tests

* combine ifs

* remove more dupe code

* disable timeout
This commit is contained in:
Barış Soner Uşaklı
2018-10-27 06:26:50 -04:00
committed by GitHub
parent aa301f27a1
commit c27be9db5a
20 changed files with 377 additions and 585 deletions

View File

@@ -468,6 +468,7 @@ describe('socket.io', function () {
});
it('should toggle plugin install', function (done) {
this.timeout(0);
socketAdmin.plugins.toggleInstall({ uid: adminUid }, { id: 'nodebb-plugin-location-to-map', version: 'latest' }, function (err, data) {
assert.ifError(err);
assert.equal(data.name, 'nodebb-plugin-location-to-map');