diff options
author | Simon Brandhof <simon.brandhof@sonarsource.com> | 2015-04-02 15:17:31 +0200 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@sonarsource.com> | 2015-04-02 16:53:38 +0200 |
commit | d5b84364c57fd4f1f160661e3da105527ead4c28 (patch) | |
tree | 446b481d6ff94ddc0949b4997d5b2cceeb561ed8 /sonar-plugin-api/src/test/java/org/sonar | |
parent | 9d98b11d4ed298aa9a6c312f9f34b51f32bfd481 (diff) | |
download | sonarqube-d5b84364c57fd4f1f160661e3da105527ead4c28.tar.gz sonarqube-d5b84364c57fd4f1f160661e3da105527ead4c28.zip |
Use random timezone when executing tests from maven
This allows to fail-fast if a test is heavily coupled with local timezone.
Diffstat (limited to 'sonar-plugin-api/src/test/java/org/sonar')
-rw-r--r-- | sonar-plugin-api/src/test/java/org/sonar/api/config/SettingsTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-plugin-api/src/test/java/org/sonar/api/config/SettingsTest.java b/sonar-plugin-api/src/test/java/org/sonar/api/config/SettingsTest.java index 48140ec82c9..ff14eae997f 100644 --- a/sonar-plugin-api/src/test/java/org/sonar/api/config/SettingsTest.java +++ b/sonar-plugin-api/src/test/java/org/sonar/api/config/SettingsTest.java @@ -130,7 +130,7 @@ public class SettingsTest { settings.setProperty("aDateTime", date, true); assertThat(settings.getString("aDate")).isEqualTo("2010-05-18"); - assertThat(settings.getString("aDateTime")).startsWith("2010-05-18T1"); + assertThat(settings.getString("aDateTime")).startsWith("2010-05-18T"); } @Test |