From e6847b294c9a6e471be15e929d032955f53c5b44 Mon Sep 17 00:00:00 2001 From: Go MAEDA Date: Tue, 19 Jul 2022 14:33:03 +0000 Subject: [PATCH] Fix test failure (#37379). git-svn-id: https://svn.redmine.org/redmine/trunk@21719 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/functional/previews_controller_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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