From a24834fa77bc5bb932f70aab4755d764dacc979c Mon Sep 17 00:00:00 2001 From: Go MAEDA Date: Thu, 2 Apr 2020 08:04:15 +0000 Subject: Skip thumbnail tests if ImageMagick convert command is not available (#33226). MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Patch by Pavel Rosický. git-svn-id: http://svn.redmine.org/redmine/trunk@19640 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/integration/api_test/attachments_test.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'test/integration/api_test') 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 -- cgit v1.2.3