diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2019-03-15 09:50:31 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2019-03-15 09:50:31 +0000 |
commit | 956eb1b7fa12289651cdb56b91db7a899c6bedcb (patch) | |
tree | 08dd29cb6a078419db2d4e586b02f24e8d26bf58 /test | |
parent | 8caee099ede8be7b0d6ecc9e42d6fc4903885fc2 (diff) | |
download | redmine-956eb1b7fa12289651cdb56b91db7a899c6bedcb.tar.gz redmine-956eb1b7fa12289651cdb56b91db7a899c6bedcb.zip |
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
Diffstat (limited to 'test')
-rw-r--r-- | test/unit/lib/redmine/plugin_test.rb | 6 |
1 files 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 |