Skip to content

Commit

Permalink
fixed exchange rates test after the provider API change
Browse files Browse the repository at this point in the history
  • Loading branch information
sqshq committed Sep 25, 2018
1 parent 480ce4a commit 836a97f
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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()));
}
Expand Down

0 comments on commit 836a97f

Please sign in to comment.