aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src/test
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2018-01-09 09:48:07 +0100
committerSimon Brandhof <simon.brandhof@sonarsource.com>2018-01-09 09:48:07 +0100
commit48e68a05f6868756c243b8aa948d9312d3aecca3 (patch)
tree9447ae91f39555aab2643dc3b3ec21278d62f448 /tests/src/test
parent301948519330547d1c1b7a12ad8d7d0ded750d15 (diff)
downloadsonarqube-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.java2
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);
}