1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-01-31 19:47:14 +00:00

Fix test failure (#37379).

git-svn-id: https://svn.redmine.org/redmine/trunk@21719 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Go MAEDA 2022-07-19 14:33:03 +00:00
parent 60acaa7286
commit e6847b294c

View File

@ -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