diff options
author | Go MAEDA <maeda@farend.jp> | 2019-10-04 11:17:33 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2019-10-04 11:17:33 +0000 |
commit | 5ce4a363a951e4a64afd29bbe216b83fe4fdcc12 (patch) | |
tree | 33f3e2c8f59467f435f7a0f960b21d58eff87d73 /test/functional/projects_controller_test.rb | |
parent | b83402029721fd5813e3ae6c1eea5fc644651ebf (diff) | |
download | redmine-5ce4a363a951e4a64afd29bbe216b83fe4fdcc12.tar.gz redmine-5ce4a363a951e4a64afd29bbe216b83fe4fdcc12.zip |
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
Diffstat (limited to 'test/functional/projects_controller_test.rb')
-rw-r--r-- | test/functional/projects_controller_test.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/functional/projects_controller_test.rb b/test/functional/projects_controller_test.rb index 63159ab90..cd1476a76 100644 --- a/test/functional/projects_controller_test.rb +++ b/test/functional/projects_controller_test.rb @@ -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 |