Skip to content

Commit 2560556

Browse files
committed
Fixed Unit Tests for new exception (#126)
1 parent 779a202 commit 2560556

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/javax/money/MonetaryTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ public void testGetCurrencies_Providers() {
7575
assertNotNull(curs);
7676
}
7777

78-
@Test
78+
@Test(expectedExceptions = MonetaryException.class)
7979
public void testGetCurrency_CurrencyQuery() {
8080
CurrencyUnit cur = Monetary.getCurrency(
8181
CurrencyQueryBuilder.of().build());

0 commit comments

Comments
 (0)