diff --git a/its/src/test/java/com/sonar/maven/it/suite/MavenTest.java b/its/src/test/java/com/sonar/maven/it/suite/MavenTest.java index 545e29b0..c3fdb3e7 100644 --- a/its/src/test/java/com/sonar/maven/it/suite/MavenTest.java +++ b/its/src/test/java/com/sonar/maven/it/suite/MavenTest.java @@ -164,8 +164,8 @@ void shouldSupportJeeProjects() { ORCHESTRATOR.executeBuild(build); // src/main/webapp is analyzed by web and xml plugin - // including resources, so one more file (ejb-module/src/main/resources/META-INF/ejb-jar.xml) - assertThat(getMeasureAsInteger("com.sonarsource.it.samples.jee:parent", "files")).isEqualTo(9); + // scanning all files, so 2 more files (ejb-module/src/main/resources/META-INF/ejb-jar.xml and web-module/src/main/webapp/index.jsp) + assertThat(getMeasureAsInteger("com.sonarsource.it.samples.jee:parent", "files")).isEqualTo(10); } /**