mirror of
https://github.com/redmine/redmine.git
synced 2025-11-08 06:15:59 +01:00
Skip thumbnail tests if ImageMagick convert command is not available (#33226).
Patch by Pavel Rosický. git-svn-id: http://svn.redmine.org/redmine/trunk@19640 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -2542,6 +2542,7 @@ class IssuesControllerTest < Redmine::ControllerTest
|
||||
end
|
||||
|
||||
def test_show_with_thumbnails_enabled_should_display_thumbnails
|
||||
skip unless convert_installed?
|
||||
@request.session[:user_id] = 2
|
||||
with_settings :thumbnails_enabled => '1' do
|
||||
get(:show, :params => {:id => 14})
|
||||
|
||||
Reference in New Issue
Block a user