##// END OF EJS Templates
scm: git: fix test revision value of unit app test...
Toshi MARUYAMA -
r9151:d2c80656f145
parent child
Show More
@@ -190,14 +190,14 class RepositoryGitTest < ActiveSupport::TestCase
190 @project.reload
190 @project.reload
191 assert_equal NUM_REV - 5, @repository.changesets.count
191 assert_equal NUM_REV - 5, @repository.changesets.count
192
192
193 extra_info_heads << "abcd1234efgh"
193 extra_info_heads << "1234abcd5678"
194 h = {}
194 h = {}
195 h["heads"] = extra_info_heads
195 h["heads"] = extra_info_heads
196 @repository.merge_extra_info(h)
196 @repository.merge_extra_info(h)
197 @repository.save
197 @repository.save
198 @project.reload
198 @project.reload
199 h1 = @repository.extra_info["heads"].dup
199 h1 = @repository.extra_info["heads"].dup
200 assert h1.index("abcd1234efgh")
200 assert h1.index("1234abcd5678")
201 assert_equal 5, h1.size
201 assert_equal 5, h1.size
202
202
203 @repository.fetch_changesets
203 @repository.fetch_changesets
General Comments 0
You need to be logged in to leave comments. Login now