Skip to content

Commit e8e24a0

Browse files
authored
Fix acceptance test assertions for updated plugin remove (#17126)
This commit updates the acceptance tests to expect messages in the updated format for removing plugins. See #17030 for change.
1 parent e094054 commit e8e24a0

File tree

1 file changed

+1
-1
lines changed
  • qa/acceptance/spec/shared_examples/cli/logstash-plugin

1 file changed

+1
-1
lines changed

qa/acceptance/spec/shared_examples/cli/logstash-plugin/remove.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
context "when the plugin isn't installed" do
3434
it "fails to remove it" do
3535
result = logstash.run_sudo_command_in_path("bin/logstash-plugin remove logstash-filter-qatest")
36-
expect(result.stderr).to match(/This plugin has not been previously installed/)
36+
expect(result.stderr).to include("The plugin `logstash-filter-qatest` has not been previously installed")
3737
end
3838
end
3939

0 commit comments

Comments
 (0)