Use getValueAsString() instead of toString().
Simple oversight, where toString() on the java.util.Date lastUpdated was wrong. Needed to getLastUpdatedElement().getValueAsString().
This commit is contained in:
parent
31d16fca03
commit
5cb211886e
|
@ -1329,9 +1329,7 @@ public class GenericJaxRsClientDstu3Test {
|
||||||
.execute();
|
.execute();
|
||||||
//@formatter:on
|
//@formatter:on
|
||||||
|
|
||||||
// FIXME ?
|
assertEquals("2015-06-22T15:48:57.554-04:00", response.getMeta().getLastUpdatedElement().getValueAsString());
|
||||||
// assertEquals("2015-06-22T15:48:57.554-04:00", response.getMeta().getLastUpdated().toString());
|
|
||||||
assertEquals("Mon Jun 22 13:48:57 MDT 2015", response.getMeta().getLastUpdated().toString());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
|
Loading…
Reference in New Issue