]> source.dussan.org Git - redmine.git/commitdiff
Merged r17966 to 4.0-stable (#31030).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Fri, 15 Mar 2019 09:50:31 +0000 (09:50 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Fri, 15 Mar 2019 09:50:31 +0000 (09:50 +0000)
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

index 42122c9451f09c0755f2bebffe2957b1ad6a5651..7779bbdb55b7cbec2094d3095bd083dcf1f994bb 100644 (file)
@@ -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