##// END OF EJS Templates
scm: git: test: model: fix failing test_parents on PostgreSQL (#5501)...
Toshi MARUYAMA -
r7600:e1f3719634cd
parent child
Show More
@@ -186,10 +186,9 class RepositoryGitTest < ActiveSupport::TestCase
186 r2.parents[0].identifier
186 r2.parents[0].identifier
187 r3 = @repository.find_changeset_by_name("32ae898b720c2")
187 r3 = @repository.find_changeset_by_name("32ae898b720c2")
188 assert_equal 2, r3.parents.length
188 assert_equal 2, r3.parents.length
189 assert_equal "4a07fe31bffcf2888791f3e6cbc9c4545cefe3e8",
189 r4 = [r3.parents[0].identifier, r3.parents[1].identifier].sort
190 r3.parents[0].identifier
190 assert_equal "4a07fe31bffcf2888791f3e6cbc9c4545cefe3e8", r4[0]
191 assert_equal "7e61ac704deecde634b51e59daa8110435dcb3da",
191 assert_equal "7e61ac704deecde634b51e59daa8110435dcb3da", r4[1]
192 r3.parents[1].identifier
193 end
192 end
194
193
195 def test_db_consistent_ordering_init
194 def test_db_consistent_ordering_init
General Comments 0
You need to be logged in to leave comments. Login now