mirror of
https://github.com/redmine/redmine.git
synced 2025-11-08 14:26:04 +01:00
fix source indent of IssuesControllerTest
git-svn-id: http://svn.redmine.org/redmine/trunk@19929 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -7641,18 +7641,18 @@ class IssuesControllerTest < Redmine::ControllerTest
|
|||||||
set_tmp_attachments_directory
|
set_tmp_attachments_directory
|
||||||
@request.session[:user_id] = 2
|
@request.session[:user_id] = 2
|
||||||
with_settings :timelog_required_fields => [] do
|
with_settings :timelog_required_fields => [] do
|
||||||
assert_difference 'Issue.count', -2 do
|
assert_difference 'Issue.count', -2 do
|
||||||
assert_no_difference 'TimeEntry.count' do
|
assert_no_difference 'TimeEntry.count' do
|
||||||
delete(
|
delete(
|
||||||
:destroy,
|
:destroy,
|
||||||
:params => {
|
:params => {
|
||||||
:ids => [1, 3],
|
:ids => [1, 3],
|
||||||
:todo => 'nullify'
|
:todo => 'nullify'
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
|
||||||
assert_redirected_to :action => 'index', :project_id => 'ecookbook'
|
assert_redirected_to :action => 'index', :project_id => 'ecookbook'
|
||||||
assert_equal 'Successful deletion.', flash[:notice]
|
assert_equal 'Successful deletion.', flash[:notice]
|
||||||
assert !(Issue.find_by_id(1) || Issue.find_by_id(3))
|
assert !(Issue.find_by_id(1) || Issue.find_by_id(3))
|
||||||
|
|||||||
Reference in New Issue
Block a user