From 21cfc63d506504b983a8bad0d37d44471310f406 Mon Sep 17 00:00:00 2001 From: Julien HENRY Date: Thu, 27 Jun 2013 15:43:59 +0200 Subject: [PATCH] SONAR-4397 Fix tests --- .../test/java/org/sonar/batch/bootstrap/BatchSettingsTest.java | 2 +- .../src/test/java/org/sonar/batch/scan/ModuleSettingsTest.java | 2 +- 2 files changed, 2 insertions(+), 2 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 64716030ee0..706413bc21d 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 @@ -146,7 +146,7 @@ public class BatchSettingsTest { assertThat(batchSettings.getString("sonar.foo.license.secured")).isEqualTo("bar2"); thrown.expect(SonarException.class); thrown - .expectMessage("Access to the secured property 'sonar.foo.secured' is not possible in local (dry run) SonarQube analysis. The SonarQube plugin accessing to this property must be deactivated in dry run mode."); + .expectMessage("Access to the secured property 'sonar.foo.secured' is not possible in local (dry run) SonarQube analysis. The SonarQube plugin which requires this property must be deactivated in dry run mode."); batchSettings.getString("sonar.foo.secured"); } diff --git a/sonar-batch/src/test/java/org/sonar/batch/scan/ModuleSettingsTest.java b/sonar-batch/src/test/java/org/sonar/batch/scan/ModuleSettingsTest.java index d8ae94c8fa2..34b5b88280a 100644 --- a/sonar-batch/src/test/java/org/sonar/batch/scan/ModuleSettingsTest.java +++ b/sonar-batch/src/test/java/org/sonar/batch/scan/ModuleSettingsTest.java @@ -124,7 +124,7 @@ public class ModuleSettingsTest { thrown.expect(SonarException.class); thrown - .expectMessage("Access to the secured property 'sonar.foo.secured' is not possible in local (dry run) SonarQube analysis. The SonarQube plugin accessing to this property must be deactivated in dry run mode."); + .expectMessage("Access to the secured property 'sonar.foo.secured' is not possible in local (dry run) SonarQube analysis. The SonarQube plugin which requires this property must be deactivated in dry run mode."); moduleSettings.getString("sonar.foo.secured"); } } -- 2.39.5