BAEL-373: Improve/Upgrade existing Mockito articles to Mockito 2 (#2311)
* BAEL-373: Improve/Upgrade existing Mockito articles to Mockito 2 * Fix formatting issue with LoginControllerIntegrationTest
This commit is contained in:
committed by
KevinGilmore
parent
9f45d709db
commit
f445a4d11b
@@ -63,6 +63,6 @@ public class MappedByteBufferUnitTest {
|
||||
|
||||
private Path getFileURIFromResources(String fileName) throws Exception {
|
||||
ClassLoader classLoader = getClass().getClassLoader();
|
||||
return Paths.get(classLoader.getResource(fileName).getPath());
|
||||
return Paths.get(classLoader.getResource(fileName).toURI());
|
||||
}
|
||||
}
|
||||
|
||||
@@ -179,7 +179,7 @@ public class JavaMoneyUnitTest {
|
||||
MonetaryAmountFormat customFormat = MonetaryFormats.getAmountFormat(AmountFormatQueryBuilder
|
||||
.of(Locale.US)
|
||||
.set(CurrencyStyle.NAME)
|
||||
.set("pattern", "00000.00 ¤")
|
||||
.set("pattern", "00000.00 ¤")
|
||||
.build());
|
||||
String customFormatted = customFormat.format(oneDollar);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user