Runs unit test and deploys artifacts to maven repo. More details of the release in https://wiki.openmrs.org/x/i4DTAw
Build: #2191 failed Changes by mogoodrich <mgoodrich@pih.org>
Test results
- 43 tests in total
- 4 tests failed
- 4 failures are new
- 34 seconds taken in total.
Status | Test | View job | Duration | |
---|---|---|---|---|
Collapse |
QuickVisitFragmentControllerTest
shouldCreateNewVisit
|
Default Job | < 1 sec | |
java.lang.NullPointerException at org.openmrs.module.coreapps.fragment.controller.visit.QuickVisitFragmentController.create(QuickVisitFragmentController.java:55) at org.openmrs.module.coreapps.fragment.controller.visit.QuickVisitFragmentControllerTest.shouldCreateNewVisit(QuickVisitFragmentControllerTest.java:75) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:622) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) (25 more lines...) |
||||
Collapse |
RetrospectiveVisitFragmentControllerTest
test_shouldCreateNewRetrospectiveVisit
|
Default Job | < 1 sec | |
java.lang.AssertionError: Expected: is "?patientId=1&visitId=1" but: was null java.lang.AssertionError: Expected: is "?patientId=1&visitId=1" but: was null 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.coreapps.fragment.controller.visit.RetrospectiveVisitFragmentControllerTest.test_shouldCreateNewRetrospectiveVisit(RetrospectiveVisitFragmentControllerTest.java:83) (30 more lines...) |
||||
Collapse |
RetrospectiveVisitFragmentControllerTest
test_shouldReturnConflictingVisits
|
Default Job | < 1 sec | |
java.lang.AssertionError: Expected: is "{\"startDate\":\"someDate\",\"stopDate\":\"someDate\",\"id\":null}" but: was "{\"startDate\":\"someDate\",\"stopDate\":\"someDate\",\"id\":null,\"uuid\":\"cb905844-6d8e-4b1e-ab98-e9aa873932d5\"}" java.lang.AssertionError: Expected: is "{\"startDate\":\"someDate\",\"stopDate\":\"someDate\",\"id\":null}" but: was "{\"startDate\":\"someDate\",\"stopDate\":\"someDate\",\"id\":null,\"uuid\":\"cb905844-6d8e-4b1e-ab98-e9aa873932d5\"}" 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.coreapps.fragment.controller.visit.RetrospectiveVisitFragmentControllerTest.test_shouldReturnConflictingVisits(RetrospectiveVisitFragmentControllerTest.java:139) (30 more lines...) |
||||
Collapse |
RetrospectiveVisitFragmentControllerTest
test_shouldCreateNewRetrospectiveVisit_whenNoStopDateSpecified
|
Default Job | < 1 sec | |
java.lang.AssertionError: Expected: is "?patientId=1&visitId=1" but: was null java.lang.AssertionError: Expected: is "?patientId=1&visitId=1" but: was null 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.coreapps.fragment.controller.visit.RetrospectiveVisitFragmentControllerTest.test_shouldCreateNewRetrospectiveVisit_whenNoStopDateSpecified(RetrospectiveVisitFragmentControllerTest.java:110) (30 more lines...) |