diff --git a/test/plugins.js b/test/plugins.js index 28d2929272..a029d06c06 100644 --- a/test/plugins.js +++ b/test/plugins.js @@ -193,13 +193,13 @@ describe('Plugins', function () { }); describe('install/activate/uninstall', function () { - var latest = '2.0.4'; + var latest; var pluginName = 'nodebb-plugin-imgur'; it('should install a plugin', function (done) { this.timeout(0); plugins.toggleInstall(pluginName, '1.0.16', function (err, pluginData) { assert.ifError(err); - // latest = pluginData.latest; + latest = pluginData.latest; assert.equal(pluginData.name, pluginName); assert.equal(pluginData.id, pluginName);