##// END OF EJS Templates
scm: git: add unit model test that revisions ordering is consistent in new database (#5357)....
Toshi MARUYAMA -
r5734:9376f6e2c370
parent child
Show More
@@ -160,6 +160,13 class RepositoryGitTest < ActiveSupport::TestCase
160 160 assert_equal 15, @repository.changesets.count
161 161 end
162 162
163 def test_db_consistent_ordering_init
164 assert_nil @repository.extra_info
165 @repository.fetch_changesets
166 @repository.reload
167 assert_equal 1, @repository.extra_info["db_consistent"]["ordering"]
168 end
169
163 170 def test_latest_changesets
164 171 @repository.fetch_changesets
165 172 @repository.reload
General Comments 0
You need to be logged in to leave comments. Login now