mirror of
https://github.com/redmine/redmine.git
synced 2026-07-05 18:28:13 +02:00
Fix test failure due to missing call to set_tmp_attachments_directory (#32122).
Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@18593 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -834,6 +834,7 @@ class ProjectsControllerTest < Redmine::ControllerTest
|
||||
end
|
||||
|
||||
def test_destroy_without_confirmation_should_show_confirmation_with_subprojects
|
||||
set_tmp_attachments_directory
|
||||
@request.session[:user_id] = 1 # admin
|
||||
|
||||
assert_no_difference 'Project.count' do
|
||||
@@ -849,6 +850,7 @@ class ProjectsControllerTest < Redmine::ControllerTest
|
||||
end
|
||||
|
||||
def test_destroy_with_confirmation_should_destroy_the_project_and_subprojects
|
||||
set_tmp_attachments_directory
|
||||
@request.session[:user_id] = 1 # admin
|
||||
|
||||
assert_difference 'Project.count', -5 do
|
||||
|
||||
Reference in New Issue
Block a user