mirror of
https://github.com/redmine/redmine.git
synced 2025-11-08 14:26:04 +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:
@@ -50,6 +50,7 @@ class Redmine::ApiTest::AttachmentsTest < Redmine::ApiTest::Base
|
||||
end
|
||||
|
||||
test "GET /attachments/:id.xml for image should include thumbnail_url" do
|
||||
skip unless convert_installed?
|
||||
get '/attachments/16.xml', :headers => credentials('jsmith')
|
||||
assert_response :success
|
||||
assert_equal 'application/xml', @response.media_type
|
||||
|
||||
Reference in New Issue
Block a user