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:
Phillip Warner 2016-04-29 14:18:44 -06:00
parent 31d16fca03
commit 5cb211886e
1 changed files with 1 additions and 3 deletions

View File

@ -1329,9 +1329,7 @@ public class GenericJaxRsClientDstu3Test {
.execute();
//@formatter:on
// FIXME ?
// 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());
assertEquals("2015-06-22T15:48:57.554-04:00", response.getMeta().getLastUpdatedElement().getValueAsString());
}
@Test