Commit 8b3c4402 authored by tmaruyama's avatar tmaruyama

scm: git: test: model: fix failing test_parents on PostgreSQL (#5501)

git-svn-id: https://svn.redmine.org/redmine/trunk@7720 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 370e6d47
......@@ -186,10 +186,9 @@ class RepositoryGitTest < ActiveSupport::TestCase
r2.parents[0].identifier
r3 = @repository.find_changeset_by_name("32ae898b720c2")
assert_equal 2, r3.parents.length
assert_equal "4a07fe31bffcf2888791f3e6cbc9c4545cefe3e8",
r3.parents[0].identifier
assert_equal "7e61ac704deecde634b51e59daa8110435dcb3da",
r3.parents[1].identifier
r4 = [r3.parents[0].identifier, r3.parents[1].identifier].sort
assert_equal "4a07fe31bffcf2888791f3e6cbc9c4545cefe3e8", r4[0]
assert_equal "7e61ac704deecde634b51e59daa8110435dcb3da", r4[1]
end
def test_db_consistent_ordering_init
......
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