mirror of
https://github.com/redmine/redmine.git
synced 2026-07-01 03:27:41 +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:
@@ -234,6 +234,7 @@ LOREM
|
||||
end
|
||||
|
||||
def test_destroy
|
||||
set_tmp_attachments_directory
|
||||
@request.session[:user_id] = 2
|
||||
assert_difference 'Document.count', -1 do
|
||||
delete :destroy, :params => {
|
||||
@@ -245,6 +246,7 @@ LOREM
|
||||
end
|
||||
|
||||
def test_add_attachment
|
||||
set_tmp_attachments_directory
|
||||
@request.session[:user_id] = 2
|
||||
assert_difference 'Attachment.count' do
|
||||
post :add_attachment, :params => {
|
||||
|
||||
Reference in New Issue
Block a user