mirror of
https://github.com/redmine/redmine.git
synced 2025-11-14 01:06:00 +01:00
Fix related issues count not updating after deleting one of the related issues (#38493).
Patch by Takashi Kato. git-svn-id: https://svn.redmine.org/redmine/trunk@22395 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -316,7 +316,7 @@ class IssueRelationsControllerTest < Redmine::ControllerTest
|
||||
end
|
||||
|
||||
assert_difference 'IssueRelation.count', -1 do
|
||||
delete(:destroy, :params => {:id => '2'}, :xhr => true)
|
||||
delete(:destroy, :params => {:id => '2', :issue_id => '2'}, :xhr => true)
|
||||
assert_response :success
|
||||
assert_equal 'text/javascript', response.media_type
|
||||
assert_include 'relation-2', response.body
|
||||
|
||||
Reference in New Issue
Block a user