@@ -384,8 +384,10 class RepositoryGitTest < ActiveSupport::TestCase | |||
|
384 | 384 | end |
|
385 | 385 | |
|
386 | 386 | def test_identifier |
|
387 | assert_equal 0, @repository.changesets.count | |
|
387 | 388 | @repository.fetch_changesets |
|
388 |
@ |
|
|
389 | @project.reload | |
|
390 | assert_equal NUM_REV, @repository.changesets.count | |
|
389 | 391 | c = @repository.changesets.find_by_revision( |
|
390 | 392 | '7234cb2750b63f47bff735edc50a1c0a433c2518') |
|
391 | 393 | assert_equal c.scmid, c.identifier |
General Comments 0
You need to be logged in to leave comments.
Login now