1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-26 18:31:14 +00:00

Fix random test failure due to missing call to set_tmp_attachments_directory in WikiControllerTest (#32653).

Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@19406 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Go MAEDA 2020-01-04 04:47:38 +00:00
parent 7afb5b7f92
commit f55aa76958

View File

@ -467,6 +467,7 @@ class WikiControllerTest < Redmine::ControllerTest
end
def test_update_with_deleted_attachment_ids
set_tmp_attachments_directory
@request.session[:user_id] = 2
page = WikiPage.find(4)
attachment = page.attachments.first
@ -486,6 +487,7 @@ class WikiControllerTest < Redmine::ControllerTest
end
def test_update_with_deleted_attachment_ids_and_failure_should_preserve_selected_attachments
set_tmp_attachments_directory
@request.session[:user_id] = 2
page = WikiPage.find(4)
attachment = page.attachments.first