mirror of
https://github.com/redmine/redmine.git
synced 2026-07-14 18:02:37 +02:00
code layout clean up of test_should_close_duplicates at test/unit/issue_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7481 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -347,7 +347,9 @@ class IssueTest < ActiveSupport::TestCase
|
||||
|
||||
def test_should_close_duplicates
|
||||
# Create 3 issues
|
||||
issue1 = Issue.new(:project_id => 1, :tracker_id => 1, :author_id => 1, :status_id => 1, :priority => IssuePriority.all.first, :subject => 'Duplicates test', :description => 'Duplicates test')
|
||||
issue1 = Issue.new(:project_id => 1, :tracker_id => 1, :author_id => 1,
|
||||
:status_id => 1, :priority => IssuePriority.all.first,
|
||||
:subject => 'Duplicates test', :description => 'Duplicates test')
|
||||
assert issue1.save
|
||||
issue2 = issue1.clone
|
||||
assert issue2.save
|
||||
|
||||
Reference in New Issue
Block a user