Actions
Patch #33226
closedSkip thumbnail tests if ImageMagick convert command is not available
Patch #33226:
Skip thumbnail tests if ImageMagick convert command is not available
Description
Files
Actions
Added by Pavel Rosický over 6 years ago. Updated over 6 years ago.
Description
Files
| convert_available.patch (1.82 KB) convert_available.patch | Pavel Rosický, 2020-03-31 19:17 | ||
| convert_available-v2.patch (2.56 KB) convert_available-v2.patch | Go MAEDA, 2020-04-01 02:57 |
Thank you for the fix. I found that gantts_controller_test.rb should also be fixed. Attached the updated patch.
Error:
GanttsControllerTest#test_gantt_should_export_to_png:
MiniMagick::Error: You must have ImageMagick or GraphicsMagick installed
lib/redmine/helpers/gantt.rb:381:in `to_image'
app/controllers/gantts_controller.rb:44:in `block (2 levels) in show'
app/controllers/gantts_controller.rb:42:in `show'
lib/redmine/sudo_mode.rb:64:in `sudo_mode'
test/functional/gantts_controller_test.rb:160:in `test_gantt_should_export_to_png'
bin/rails test test/functional/gantts_controller_test.rb:159
Committed the patch. Thank you.