From 1ba2c2a0dc7a88855f8f32a474608f4fdbfea1c1 Mon Sep 17 00:00:00 2001 From: Marcin Krykowski Date: Sun, 14 Jun 2020 09:08:10 +0100 Subject: [PATCH] Remove test for current localisation as it was failing at prod due to different systems --- .../com/baeldung/formatNumber/FormatNumberUnitTest.java | 6 ------ 1 file changed, 6 deletions(-) diff --git a/java-numbers-3/src/test/java/com/baeldung/formatNumber/FormatNumberUnitTest.java b/java-numbers-3/src/test/java/com/baeldung/formatNumber/FormatNumberUnitTest.java index a0fe21b8d5..190a5aa8ba 100644 --- a/java-numbers-3/src/test/java/com/baeldung/formatNumber/FormatNumberUnitTest.java +++ b/java-numbers-3/src/test/java/com/baeldung/formatNumber/FormatNumberUnitTest.java @@ -79,10 +79,4 @@ public class FormatNumberUnitTest { assertThat(currencyWithChosenLocalisation(value, new Locale("pl", "PL"))).isEqualTo("23 500 zł"); } - @Test - public void givenCurrency_whenFormatNumber_currencyWithDefaultLocalisation_thenGetExpectedResult() { - double value = 23_500; - assertThat(currencyWithDefaultLocalisation(value)).isEqualTo("£23,500.00"); - } - }