From 836a97f2b387ff921591f967e601145c2001c0dc Mon Sep 17 00:00:00 2001 From: sqshq Date: Tue, 25 Sep 2018 08:55:19 -0400 Subject: [PATCH] fixed exchange rates test after the provider API change --- .../statistics/client/ExchangeRatesClientTest.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/statistics-service/src/test/java/com/piggymetrics/statistics/client/ExchangeRatesClientTest.java b/statistics-service/src/test/java/com/piggymetrics/statistics/client/ExchangeRatesClientTest.java index e149af6dee..bd4dc51122 100644 --- a/statistics-service/src/test/java/com/piggymetrics/statistics/client/ExchangeRatesClientTest.java +++ b/statistics-service/src/test/java/com/piggymetrics/statistics/client/ExchangeRatesClientTest.java @@ -12,7 +12,6 @@ import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; -import static org.junit.Assert.assertNull; @RunWith(SpringRunner.class) @SpringBootTest @@ -30,7 +29,7 @@ public void shouldRetrieveExchangeRates() { assertEquals(container.getBase(), Currency.getBase()); assertNotNull(container.getRates()); - assertNull(container.getRates().get(Currency.USD.name())); + assertNotNull(container.getRates().get(Currency.USD.name())); assertNotNull(container.getRates().get(Currency.EUR.name())); assertNotNull(container.getRates().get(Currency.RUB.name())); }