@@ -220,7 +220,7 class RepositoryGitTest < ActiveSupport::TestCase | |||
|
220 | 220 | def test_keep_extra_report_last_commit_in_clear_changesets |
|
221 | 221 | assert_nil @repository.extra_info |
|
222 | 222 | h = {} |
|
223 | h["extra_report_last_commit"] = 1 | |
|
223 | h["extra_report_last_commit"] = "1" | |
|
224 | 224 | @repository.merge_extra_info(h) |
|
225 | 225 | @repository.save |
|
226 | 226 | @project.reload |
@@ -232,7 +232,7 class RepositoryGitTest < ActiveSupport::TestCase | |||
|
232 | 232 | assert_equal NUM_REV, @repository.changesets.count |
|
233 | 233 | @repository.send(:clear_changesets) |
|
234 | 234 | assert_equal 1, @repository.extra_info.size |
|
235 | assert_equal 1, @repository.extra_info["extra_report_last_commit"] | |
|
235 | assert_equal "1", @repository.extra_info["extra_report_last_commit"] | |
|
236 | 236 | end |
|
237 | 237 | |
|
238 | 238 | def test_refetch_after_clear_changesets |
General Comments 0
You need to be logged in to leave comments.
Login now