Browse Source

Fix test failure (#37379).


git-svn-id: https://svn.redmine.org/redmine/trunk@21719 e93f8b46-1217-0410-a6f0-8f06a7374b81
tags/5.1.0
Go MAEDA 2 years ago
parent
commit
e6847b294c
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      test/functional/previews_controller_test.rb

+ 1
- 1
test/functional/previews_controller_test.rb 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

Loading…
Cancel
Save