Skip to content

Commit 13cbef4

Browse files
committed
Fix unit tests
1 parent b568a86 commit 13cbef4

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

test/resources/summary_report_builder/expected_filtered_index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ <h2>Projects</h2>
8787

8888
<tr>
8989
<td class="project-header"><a href="./checkstyle/index.html">checkstyle</a></td>
90-
<td>master</td>
90+
<td>checkstyle-8.10</td>
9191
<td>
9292
<span class="pill badge-pill badge-secondary added">+0</span>
9393
<span class="pill badge-pill badge-secondary removed">-0</span>

test/resources/summary_report_builder/expected_index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ <h2>Projects</h2>
8585

8686
<tr>
8787
<td class="project-header"><a href="./checkstyle/index.html">checkstyle</a></td>
88-
<td>master</td>
88+
<td>checkstyle-8.10</td>
8989
<td>
9090
<span class="pill badge-pill badge-secondary added">+0</span>
9191
<span class="pill badge-pill badge-secondary removed">-0</span>

test/test_project_builder.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ def setup
1111
end
1212

1313
def test_clone
14-
expect_git_clone('checkstyle', 'https://github.com/checkstyle/checkstyle', 'master')
14+
expect_git_clone('checkstyle', 'https://github.com/checkstyle/checkstyle', 'checkstyle-8.10')
1515
expect_git_clone('spring-framework', 'https://github.com/spring-projects/spring-framework', 'v5.0.6.RELEASE')
1616

1717
project_builder = PmdTester::ProjectBuilder.new(@projects)

test/test_projects_parser.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ def test_project_parser_checkstyle
1313
expected_exclude_pattern =
1414
%w[**/src/test/resources-noncompilable/**/* **/src/test/resources/**/*]
1515
assert_equal(expected_exclude_pattern, @projects[0].exclude_patterns)
16-
assert_equal('https://github.com/checkstyle/checkstyle/tree/master', @projects[0].webview_url)
17-
assert_equal('master', @projects[0].tag)
16+
assert_equal('https://github.com/checkstyle/checkstyle/tree/checkstyle-8.10', @projects[0].webview_url)
17+
assert_equal('checkstyle-8.10', @projects[0].tag)
1818
assert_equal('mvn test-compile -B', @projects[0].build_command)
1919
assert_equal('echo -n "$(pwd)/target/classes:"', @projects[0].auxclasspath_command)
2020
end

0 commit comments

Comments
 (0)