Commit e6f5df07 authored by tmaruyama's avatar tmaruyama

code layout clean up test_should_not_close_duplicated_issue of unit issue test

git-svn-id: https://svn.redmine.org/redmine/trunk@10652 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent e023ea0d
......@@ -864,7 +864,8 @@ class IssueTest < ActiveSupport::TestCase
issue2 = Issue.generate!
# 2 is a dupe of 1
IssueRelation.create(:issue_from => issue2, :issue_to => issue1, :relation_type => IssueRelation::TYPE_DUPLICATES)
IssueRelation.create(:issue_from => issue2, :issue_to => issue1,
:relation_type => IssueRelation::TYPE_DUPLICATES)
# 2 is a dup of 1 but 1 is not a duplicate of 2
assert !issue2.reload.duplicates.include?(issue1)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment