From 956eb1b7fa12289651cdb56b91db7a899c6bedcb Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Fri, 15 Mar 2019 09:50:31 +0000 Subject: [PATCH] Merged r17966 to 4.0-stable (#31030). git-svn-id: http://svn.redmine.org/redmine/branches/4.0-stable@17967 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/unit/lib/redmine/plugin_test.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/unit/lib/redmine/plugin_test.rb b/test/unit/lib/redmine/plugin_test.rb index 42122c945..7779bbdb5 100644 --- a/test/unit/lib/redmine/plugin_test.rb +++ b/test/unit/lib/redmine/plugin_test.rb @@ -166,13 +166,13 @@ class Redmine::PluginTest < ActiveSupport::TestCase requires_redmine_plugin(:other, :version => ['98.0.0', '99.0.0']) end # Missing plugin - test.assert_raise Redmine::PluginNotFound do + test.assert_raise Redmine::PluginRequirementError do requires_redmine_plugin(:missing, :version_or_higher => '0.1.0') end - test.assert_raise Redmine::PluginNotFound do + test.assert_raise Redmine::PluginRequirementError do requires_redmine_plugin(:missing, '0.1.0') end - test.assert_raise Redmine::PluginNotFound do + test.assert_raise Redmine::PluginRequirementError do requires_redmine_plugin(:missing, :version => '0.1.0') end end -- 2.39.5