From cc91485c9e791c1fb4325e7b633efd063e195f5d Mon Sep 17 00:00:00 2001 From: Julien HENRY Date: Mon, 16 Sep 2013 16:24:24 +0200 Subject: [PATCH] SONAR-4680 Fix tests --- .../java/org/sonar/batch/bootstrap/BatchSettingsTest.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/sonar-batch/src/test/java/org/sonar/batch/bootstrap/BatchSettingsTest.java b/sonar-batch/src/test/java/org/sonar/batch/bootstrap/BatchSettingsTest.java index e889ff0d845..396b2d4be3a 100644 --- a/sonar-batch/src/test/java/org/sonar/batch/bootstrap/BatchSettingsTest.java +++ b/sonar-batch/src/test/java/org/sonar/batch/bootstrap/BatchSettingsTest.java @@ -46,12 +46,10 @@ public class BatchSettingsTest { private static final String JSON_RESPONSE_WITH_SECURED = "[{\"k\":\"sonar.foo.secured\",\"v\":\"bar\"},{\"k\":\"sonar.foo.license.secured\",\"v\":\"bar2\"}]"; private static final String REACTOR_JSON_RESPONSE = "[{\"k\":\"sonar.cpd.cross\",\"v\":\"true\"}," + - "{\"k\":\"sonar.java.coveragePlugin\",\"v\":\"jacoco\",\"p\":\"struts\"}," + - "{\"k\":\"sonar.java.coveragePlugin\",\"v\":\"cobertura\",\"p\":\"struts-core\"}]"; + "{\"k\":\"sonar.java.coveragePlugin\",\"v\":\"jacoco\"}]"; private static final String BRANCH_REACTOR_JSON_RESPONSE = "[{\"k\":\"sonar.cpd.cross\",\"v\":\"true\"}," + - "{\"k\":\"sonar.java.coveragePlugin\",\"v\":\"jacoco\",\"p\":\"struts:mybranch\"}," + - "{\"k\":\"sonar.java.coveragePlugin\",\"v\":\"cobertura\",\"p\":\"struts-core:mybranch\"}]"; + "{\"k\":\"sonar.java.coveragePlugin\",\"v\":\"jacoco\"}]"; ServerClient client = mock(ServerClient.class); ProjectDefinition project = ProjectDefinition.create().setKey("struts"); -- 2.39.5