summaryrefslogtreecommitdiffstats
path: root/test/integration
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2020-04-02 08:04:15 +0000
committerGo MAEDA <maeda@farend.jp>2020-04-02 08:04:15 +0000
commita24834fa77bc5bb932f70aab4755d764dacc979c (patch)
tree2a016f01a6718e064a3961949f813e442e136b9a /test/integration
parent0f3cece5bb03a2bec9714a0fcd8bc936b8de706c (diff)
downloadredmine-a24834fa77bc5bb932f70aab4755d764dacc979c.tar.gz
redmine-a24834fa77bc5bb932f70aab4755d764dacc979c.zip
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
Diffstat (limited to 'test/integration')
-rw-r--r--test/integration/api_test/attachments_test.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/integration/api_test/attachments_test.rb b/test/integration/api_test/attachments_test.rb
index 85dd895c0..4d83195c4 100644
--- a/test/integration/api_test/attachments_test.rb
+++ b/test/integration/api_test/attachments_test.rb
@@ -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