diff options
author | Go MAEDA <maeda@farend.jp> | 2022-07-19 14:33:03 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2022-07-19 14:33:03 +0000 |
commit | e6847b294c9a6e471be15e929d032955f53c5b44 (patch) | |
tree | 49e3ba1d0e6b3468c78a54372e15e8f28ad68901 | |
parent | 60acaa72866013f7d1c5d094845b66bf4aaefea3 (diff) | |
download | redmine-e6847b294c9a6e471be15e929d032955f53c5b44.tar.gz redmine-e6847b294c9a6e471be15e929d032955f53c5b44.zip |
Fix test failure (#37379).
git-svn-id: https://svn.redmine.org/redmine/trunk@21719 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r-- | test/functional/previews_controller_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/previews_controller_test.rb b/test/functional/previews_controller_test.rb index 789f67c21..a3446a302 100644 --- a/test/functional/previews_controller_test.rb +++ b/test/functional/previews_controller_test.rb @@ -89,7 +89,7 @@ class PreviewsControllerTest < Redmine::ControllerTest end def test_preview_issue_notes_should_show_thumbnail_of_file_immidiately_after_attachment - attachment = Attachment.generate!(filename: 'foo.png', digest: Redmine::Utils.random_hex(64)) + attachment = Attachment.generate!(filename: 'foo.png', digest: Redmine::Utils.random_hex(32)) attachment.update(container: nil) @request.session[:user_id] = 2 |