java.lang.AssertionError: Expected: iterable containing [(hasProperty("drug", is <org.openmrs.Drug[3cfcf118-931c-46f7-8ff6-7b876f0d4202]>) and hasProperty("dose", is <1.0>) and hasProperty("dateActivated", is <Wed Nov 18 00:00:00 UTC 2015>)), (hasProperty("drug", is <org.openmrs.Drug[3cfcf118-931c-46f7-8ff6-7b876f0d4202]>) and hasProperty("dose", is <2.0>) and hasProperty("action", is <REVISE>) and hasProperty("dateStopped", is <Wed Nov 18 00:00:00 UTC 2015>)), (hasProperty("drug", is <org.openmrs.Drug[3cfcf118-931c-46f7-8ff6-7b876f0d4202]>) and hasProperty("dateActivated", is <Wed Nov 18 00:00:00 UTC 2015>) and hasProperty("action", is <DISCONTINUE>))] but: item 1: hasProperty("dateStopped", is <Wed Nov 18 00:00:00 UTC 2015>) property 'dateStopped' was <Tue Nov 17 23:59:59 UTC 2015>
java.lang.AssertionError:
Expected: iterable containing [(hasProperty("drug", is <org.openmrs.Drug[3cfcf118-931c-46f7-8ff6-7b876f0d4202]>) and hasProperty("dose", is <1.0>) and hasProperty("dateActivated", is <Wed Nov 18 00:00:00 UTC 2015>)), (hasProperty("drug", is <org.openmrs.Drug[3cfcf118-931c-46f7-8ff6-7b876f0d4202]>) and hasProperty("dose", is <2.0>) and hasProperty("action", is <REVISE>) and hasProperty("dateStopped", is <Wed Nov 18 00:00:00 UTC 2015>)), (hasProperty("drug", is <org.openmrs.Drug[3cfcf118-931c-46f7-8ff6-7b876f0d4202]>) and hasProperty("dateActivated", is <Wed Nov 18 00:00:00 UTC 2015>) and hasProperty("action", is <DISCONTINUE>))]
but: item 1: hasProperty("dateStopped", is <Wed Nov 18 00:00:00 UTC 2015>) property 'dateStopped' was <Tue Nov 17 23:59:59 UTC 2015>
at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
at org.junit.Assert.assertThat(Assert.java:865)
at org.junit.Assert.assertThat(Assert.java:832)
at org.openmrs.module.htmlformentry.DrugOrderTag1_10Test$1.testEditedResults(DrugOrderTag1_10Test.java:147)
(63 more lines...)
|