diff options
author | Julien HENRY <julien.henry@sonarsource.com> | 2013-06-27 15:43:59 +0200 |
---|---|---|
committer | Julien HENRY <julien.henry@sonarsource.com> | 2013-06-27 15:43:59 +0200 |
commit | 21cfc63d506504b983a8bad0d37d44471310f406 (patch) | |
tree | 6497a65b21a8b01eaf1dedcbe5859c93f073f390 | |
parent | ee231271cf60272f2e10dc6eeba37e0cc852e49a (diff) | |
download | sonarqube-21cfc63d506504b983a8bad0d37d44471310f406.tar.gz sonarqube-21cfc63d506504b983a8bad0d37d44471310f406.zip |
SONAR-4397 Fix tests
-rw-r--r-- | sonar-batch/src/test/java/org/sonar/batch/bootstrap/BatchSettingsTest.java | 2 | ||||
-rw-r--r-- | sonar-batch/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"); } } |