Skip to content
Snippets Groups Projects
Commit f6cd5cab authored by Piotr Gawron's avatar Piotr Gawron
Browse files

unit test fixed

parent e7fa9d77
No related branches found
No related tags found
1 merge request!191Unit test refactor
......@@ -2,7 +2,6 @@
require("../mocha-config");
var InvalidArgumentError = require('../../../main/js/InvalidArgumentError');
var Plugin = require('../../../main/js/plugin/Plugin');
var PluginManager = require('../../../main/js/plugin/PluginManager');
var ProxyAccessPlugin = require('./ProxyAccessPlugin');
......@@ -91,7 +90,7 @@ describe('PluginManager', function () {
});
it('valid', function () {
var manager = new PluginManager(createParams());
assert.ok("http://onet.pl/");
assert.ok(manager.isValidUrl("http://onet.pl/"));
});
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment