diff options
author | Simon Brandhof <simon.brandhof@sonarsource.com> | 2018-01-09 09:48:07 +0100 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@sonarsource.com> | 2018-01-09 09:48:07 +0100 |
commit | 48e68a05f6868756c243b8aa948d9312d3aecca3 (patch) | |
tree | 9447ae91f39555aab2643dc3b3ec21278d62f448 /tests/src/test | |
parent | 301948519330547d1c1b7a12ad8d7d0ded750d15 (diff) | |
download | sonarqube-48e68a05f6868756c243b8aa948d9312d3aecca3.tar.gz sonarqube-48e68a05f6868756c243b8aa948d9312d3aecca3.zip |
Fix ProjectBuilderTest IT
SonarJava 5.0 introduces a behavior change on the list of files
to be analyzed. Our integration test is impacted because
it installs automatically the latest version of this plugin.
See https://jira.sonarsource.com/browse/SONARJAVA-2509
Diffstat (limited to 'tests/src/test')
-rw-r--r-- | tests/src/test/java/org/sonarqube/tests/analysis/ProjectBuilderTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/src/test/java/org/sonarqube/tests/analysis/ProjectBuilderTest.java b/tests/src/test/java/org/sonarqube/tests/analysis/ProjectBuilderTest.java index 53b5a7059f9..5d3b7ea581a 100644 --- a/tests/src/test/java/org/sonarqube/tests/analysis/ProjectBuilderTest.java +++ b/tests/src/test/java/org/sonarqube/tests/analysis/ProjectBuilderTest.java @@ -65,7 +65,7 @@ public class ProjectBuilderTest { assertThat(getComponent(orchestrator, "com.sonarsource.it.projects.batch:project-builder").getName()).isEqualTo("Name changed by plugin"); Map<String, Double> measures = getMeasures("com.sonarsource.it.projects.batch:project-builder"); - assertThat(measures.get("files")).isEqualTo(2); + assertThat(measures.get("files")).isEqualTo(3); assertThat(measures.get("lines")).isGreaterThan(10); } |