more work on date time test cases
This commit is contained in:
parent
c94cf32a8e
commit
5b99283a52
|
@ -101,7 +101,7 @@ public class NarrativeGeneratorTests {
|
||||||
|
|
||||||
@Test // varies between versions, so multiple possible expected
|
@Test // varies between versions, so multiple possible expected
|
||||||
public void testDateTimeRendering4() throws FHIRFormatError, DefinitionException, IOException {
|
public void testDateTimeRendering4() throws FHIRFormatError, DefinitionException, IOException {
|
||||||
checkDateTimeRendering("2021-11-19T14:13:12Z", "en", "AU", ZoneId.of("UTC"), null, ResourceRendererMode.END_USER, "19/11/21, 2:13 pm", "19/11/21 2:13 pm");
|
checkDateTimeRendering("2021-11-19T14:13:12Z", "en", "AU", ZoneId.of("UTC"), null, ResourceRendererMode.END_USER, "19/11/21, 2:13 pm", "19/11/21 2:13 PM");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1510,5 +1510,9 @@ public class Utilities {
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static String toString(String[] expected) {
|
||||||
|
return "['"+String.join("' | '", expected)+"']";
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
Loading…
Reference in New Issue