scm: git: use report_last_commit option in unit adapter test (#7047).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5654 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
fbdbdf96fe
commit
931fd58de6
|
@ -167,7 +167,8 @@ begin
|
|||
end
|
||||
|
||||
def test_entries_tag
|
||||
entries1 = @adapter.entries(nil, 'tag01.annotated')
|
||||
entries1 = @adapter.entries(nil, 'tag01.annotated',
|
||||
options = {:report_last_commit => true})
|
||||
assert entries1
|
||||
assert_equal 3, entries1.size
|
||||
assert_equal 'sources', entries1[1].name
|
||||
|
@ -183,7 +184,8 @@ begin
|
|||
end
|
||||
|
||||
def test_entries_branch
|
||||
entries1 = @adapter.entries(nil, 'test_branch')
|
||||
entries1 = @adapter.entries(nil, 'test_branch',
|
||||
options = {:report_last_commit => true})
|
||||
assert entries1
|
||||
assert_equal 4, entries1.size
|
||||
assert_equal 'sources', entries1[1].name
|
||||
|
|
Loading…
Reference in New Issue