Builds, runs unit tests and deploys artifacts to nexus repo
Build: #276 failed Changes by Daniel Kayiwa
Test results
- 7 tests in total
- 1 test failed
- 1 failure is new
- 37 seconds taken in total.
Status | Test | View job | Duration | |
---|---|---|---|---|
Collapse |
DrugOrderTag1_10Test
testDrugOrderTag_shouldCreateAndDiscontinueDrugOrder
|
Default Job | 1 sec | |
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...) |