Commit 234028ad authored by tmaruyama's avatar tmaruyama
Browse files

scm: git: use report_last_commit option in unit adapter test (#7047).

git-svn-id: https://svn.redmine.org/redmine/trunk@5654 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent fed6cc63
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment