windows test fix

This commit is contained in:
Oliver Egger 2020-06-10 13:53:37 +02:00
parent 101b1c7cde
commit 47722ef63c
1 changed files with 2 additions and 2 deletions

View File

@ -75,8 +75,8 @@ public class ResourceRoundTripTests {
code.get(0).setValue("ö");
ByteArrayOutputStream baosXml = new ByteArrayOutputStream();
Manager.compose(TestingUtilities.context(), xml, baosXml, FhirFormat.XML, OutputStyle.PRETTY, null);
String cdaSerialised = baosXml.toString();
assertTrue(cdaSerialised.indexOf("<code value=\"ö\"")>0);
String cdaSerialised = baosXml.toString("UTF-8");
assertTrue(cdaSerialised.indexOf("ö")>0);
}
}