diff --git a/its/src/test/java/com/sonar/it/csharp/TestProjectTest.java b/its/src/test/java/com/sonar/it/csharp/TestProjectTest.java index 3a1c1ecdab7..8a4e61c0e65 100644 --- a/its/src/test/java/com/sonar/it/csharp/TestProjectTest.java +++ b/its/src/test/java/com/sonar/it/csharp/TestProjectTest.java @@ -97,7 +97,7 @@ void issuesAreImportedForTestProject() { @Test void with_html_and_csharp_code_explicitly_marked_as_test_should_not_populate_metrics() throws Exception { - BuildResult buildResult = Tests.analyzeProject(temp, EXPLICITLY_MARKED_AS_TEST, "no_rule"); + BuildResult buildResult = Tests.analyzeProject(temp, EXPLICITLY_MARKED_AS_TEST); assertThat(Tests.getComponent("HtmlCSharpExplicitlyMarkedAsTest:Foo.cs")).isNotNull(); assertThat(getMeasureAsInt(EXPLICITLY_MARKED_AS_TEST, "files")).isNull(); diff --git a/its/src/test/java/com/sonar/it/vbnet/CoverageTest.java b/its/src/test/java/com/sonar/it/vbnet/CoverageTest.java index e8a0a8a3544..1e51c367a0e 100644 --- a/its/src/test/java/com/sonar/it/vbnet/CoverageTest.java +++ b/its/src/test/java/com/sonar/it/vbnet/CoverageTest.java @@ -66,7 +66,7 @@ void coverage(String testFramework, String format, int linesToCover, int uncove @Test void no_coverage_on_tests() throws Exception { - BuildResult buildResult = Tests.analyzeProject(temp, "VbNoCoverageOnTests", "vbnet_no_rule", "sonar.vbnet.vscoveragexml.reportsPaths", "reports/visualstudio.coveragexml"); + BuildResult buildResult = Tests.analyzeProject(temp, "VbNoCoverageOnTests", "sonar.vbnet.vscoveragexml.reportsPaths", "reports/visualstudio.coveragexml"); assertThat(buildResult.getLogs()).contains( "Sensor VB.NET Tests Coverage Report Import",