diff options
author | Julien HENRY <julien.henry@sonarsource.com> | 2015-03-09 11:03:10 +0100 |
---|---|---|
committer | Julien HENRY <julien.henry@sonarsource.com> | 2015-03-09 11:03:10 +0100 |
commit | f4a5cf1d37914a21bf42580f9fdc76204702b760 (patch) | |
tree | a63893b0d7adc57a9d392916384715dc79961656 /sonar-core | |
parent | b5ae4d3661dadbca4bfc42d5c48eb65ee40a5a81 (diff) | |
download | sonarqube-f4a5cf1d37914a21bf42580f9fdc76204702b760.tar.gz sonarqube-f4a5cf1d37914a21bf42580f9fdc76204702b760.zip |
SONAR-5077 Fix test
Diffstat (limited to 'sonar-core')
-rw-r--r-- | sonar-core/src/test/java/org/sonar/core/i18n/DefaultI18nTest.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sonar-core/src/test/java/org/sonar/core/i18n/DefaultI18nTest.java b/sonar-core/src/test/java/org/sonar/core/i18n/DefaultI18nTest.java index b859c92bc86..d787b0e6983 100644 --- a/sonar-core/src/test/java/org/sonar/core/i18n/DefaultI18nTest.java +++ b/sonar-core/src/test/java/org/sonar/core/i18n/DefaultI18nTest.java @@ -72,7 +72,7 @@ public class DefaultI18nTest { // Only in english assertThat(manager.getPropertyKeys().contains("assignee")).isTrue(); assertThat(manager.getPropertyKeys().contains("sqale.page")).isTrue(); - assertThat(manager.getPropertyKeys().contains("unknown")).isFalse(); + assertThat(manager.getPropertyKeys().contains("bla_bla_bla")).isFalse(); } @Test @@ -124,8 +124,8 @@ public class DefaultI18nTest { @Test public void return_default_value_if_missing_key() { - assertThat(manager.message(Locale.ENGLISH, "unknown", "default")).isEqualTo("default"); - assertThat(manager.message(Locale.FRENCH, "unknown", "default")).isEqualTo("default"); + assertThat(manager.message(Locale.ENGLISH, "bla_bla_bla", "default")).isEqualTo("default"); + assertThat(manager.message(Locale.FRENCH, "bla_bla_bla", "default")).isEqualTo("default"); } @Test |