mirror of
https://github.com/redmine/redmine.git
synced 2024-08-27 05:58:46 +02:00
scm: mercurial: test: model: fix failing test_parents on PostgreSQL (#5501)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7719 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
9e238171ca
commit
4a5a4bad97
@ -273,10 +273,9 @@ class RepositoryMercurialTest < ActiveSupport::TestCase
|
||||
r2.parents[0].identifier
|
||||
r3 = @repository.changesets.find_by_revision('30')
|
||||
assert_equal 2, r3.parents.length
|
||||
assert_equal "a94b0528f24f",
|
||||
r3.parents[0].identifier
|
||||
assert_equal "3a330eb32958",
|
||||
r3.parents[1].identifier
|
||||
r4 = [r3.parents[0].identifier, r3.parents[1].identifier].sort
|
||||
assert_equal "3a330eb32958", r4[0]
|
||||
assert_equal "a94b0528f24f", r4[1]
|
||||
end
|
||||
|
||||
def test_activities
|
||||
|
Loading…
Reference in New Issue
Block a user