Skip to content

Commit

Permalink
chore(deps): updated plugin version in PluginInstallCommandTest (#1001)
Browse files Browse the repository at this point in the history
  • Loading branch information
Skraye committed Feb 20, 2023
1 parent c94efe8 commit b0592e4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@ void run() throws IOException {
pluginsPath.toFile().deleteOnExit();

try (ApplicationContext ctx = ApplicationContext.run(Environment.CLI, Environment.TEST)) {
String[] args = {"--plugins", pluginsPath.toAbsolutePath().toString(), "io.kestra.plugin:plugin-notifications:0.2.0-SNAPSHOT"};
String[] args = {"--plugins", pluginsPath.toAbsolutePath().toString(), "io.kestra.plugin:plugin-notifications:0.6.0"};
PicocliRunner.call(PluginInstallCommand.class, ctx, args);

List<Path> files = Files.list(pluginsPath).collect(Collectors.toList());

assertThat(files.size(), is(1));
assertThat(files.get(0).getFileName().toString(), is("plugin-notifications-0.2.0-SNAPSHOT.jar"));
assertThat(files.get(0).getFileName().toString(), is("plugin-notifications-0.6.0.jar"));
}
}
}

0 comments on commit b0592e4

Please sign in to comment.