mirror of
https://github.com/redmine/redmine.git
synced 2025-12-16 05:20:28 +01:00
add more assert_equal to IssuesSystemTest#test_bulk_copy
git-svn-id: http://svn.redmine.org/redmine/trunk@19911 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -459,7 +459,9 @@ class IssuesSystemTest < ApplicationSystemTestCase
|
|||||||
end
|
end
|
||||||
|
|
||||||
copies = Issue.order('id DESC').limit(2)
|
copies = Issue.order('id DESC').limit(2)
|
||||||
|
assert_equal 2, copies[0].project.id
|
||||||
assert_equal 6, copies[0].priority.id
|
assert_equal 6, copies[0].priority.id
|
||||||
|
assert_equal 2, copies[1].project.id
|
||||||
assert_equal 6, copies[1].priority.id
|
assert_equal 6, copies[1].priority.id
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user