Browse Source

Fix test

pull/565/head
Decebal Suiu 10 months ago
parent
commit
bdd404bf6a
  1. 7
      pf4j/src/test/java/org/pf4j/DefaultPluginManagerTest.java

7
pf4j/src/test/java/org/pf4j/DefaultPluginManagerTest.java

@ -199,7 +199,12 @@ public class DefaultPluginManagerTest {
.pluginDependencies("myBasePlugin")
.build();
pluginManager.loadPlugins();
try {
pluginManager.loadPlugin(pluginZip.path());
} catch (DependencyResolver.DependenciesNotFoundException e) {
// expected
}
pluginManager.startPlugins();
PluginWrapper myPlugin = pluginManager.getPlugin(pluginZip.pluginId());

Loading…
Cancel
Save