Plan for OpenMRS Core 2.0.x
Build: #8 failed
Job: Build and Test failed
Job result summary
- Completed
- Duration
- 9 minutes
- Revision
-
4402070a80140565ec3ba17b56a0225008bbb833
4402070a80140565ec3ba17b56a0225008bbb833 - Total tests
- 3130
- Fixed in
- #10 (Code changes detected)
Tests
- 3,130 tests in total
- 9 tests failed
- 9 failures are new
- 32 tests were quarantined / skipped
- 5 minutes taken in total.
Status | Test | Duration | |
---|---|---|---|
Collapse |
OrderServiceTest
discontinueOrder_shouldFailForADiscontinuedOrder
|
< 1 sec | |
java.lang.AssertionError: Expected: (an instance of org.openmrs.api.APIException and exception with message a string containing "Order.stopped.cannot.discontinued") but: exception with message a string containing "Order.stopped.cannot.discontinued" message was "Cannot discontinue an order that is already stopped, expired or voided" Stacktrace was: org.openmrs.api.APIException: Cannot discontinue an order that is already stopped, expired or voided at org.openmrs.api.impl.OrderServiceImpl.stopOrder(OrderServiceImpl.java:730) at org.openmrs.api.impl.OrderServiceImpl.discontinueOrder(OrderServiceImpl.java:695) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) (162 more lines...) |
|||
Collapse |
OrderServiceTest
discontinueOrder_shouldFailForAStoppedOrder
|
< 1 sec | |
java.lang.AssertionError: Expected: (an instance of org.openmrs.api.APIException and exception with message a string containing "Order.stopped.cannot.discontinued") but: exception with message a string containing "Order.stopped.cannot.discontinued" message was "Cannot discontinue an order that is already stopped, expired or voided" Stacktrace was: org.openmrs.api.APIException: Cannot discontinue an order that is already stopped, expired or voided at org.openmrs.api.impl.OrderServiceImpl.stopOrder(OrderServiceImpl.java:730) at org.openmrs.api.impl.OrderServiceImpl.discontinueOrder(OrderServiceImpl.java:676) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) (162 more lines...) |
|||
Collapse |
OrderServiceTest
discontinueOrder_shouldFailForAVoidedOrder
|
< 1 sec | |
java.lang.AssertionError: Expected: (an instance of org.openmrs.api.APIException and exception with message a string containing "Order.stopped.cannot.discontinued") but: exception with message a string containing "Order.stopped.cannot.discontinued" message was "Cannot discontinue an order that is already stopped, expired or voided" Stacktrace was: org.openmrs.api.APIException: Cannot discontinue an order that is already stopped, expired or voided at org.openmrs.api.impl.OrderServiceImpl.stopOrder(OrderServiceImpl.java:730) at org.openmrs.api.impl.OrderServiceImpl.discontinueOrder(OrderServiceImpl.java:695) at sun.reflect.GeneratedMethodAccessor1145.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) (158 more lines...) |
|||
Collapse |
OrderServiceTest
discontinueOrder_shouldFailForAnExpiredOrder
|
< 1 sec | |
java.lang.AssertionError: Expected: (an instance of org.openmrs.api.APIException and exception with message a string containing "Order.stopped.cannot.discontinued") but: exception with message a string containing "Order.stopped.cannot.discontinued" message was "Cannot discontinue an order that is already stopped, expired or voided" Stacktrace was: org.openmrs.api.APIException: Cannot discontinue an order that is already stopped, expired or voided at org.openmrs.api.impl.OrderServiceImpl.stopOrder(OrderServiceImpl.java:730) at org.openmrs.api.impl.OrderServiceImpl.discontinueOrder(OrderServiceImpl.java:676) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) (162 more lines...) |
|||
Collapse |
OrderServiceTest
discontinueOrder_shouldNotPassForADiscontinuedOrder
|
< 1 sec | |
java.lang.AssertionError: Expected: (an instance of org.openmrs.api.APIException and exception with message a string containing "Order.stopped.cannot.discontinued") but: exception with message a string containing "Order.stopped.cannot.discontinued" message was "Cannot discontinue an order that is already stopped, expired or voided" Stacktrace was: org.openmrs.api.APIException: Cannot discontinue an order that is already stopped, expired or voided at org.openmrs.api.impl.OrderServiceImpl.stopOrder(OrderServiceImpl.java:730) at org.openmrs.api.impl.OrderServiceImpl.discontinueOrder(OrderServiceImpl.java:676) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) (162 more lines...) |
|||
Collapse |
OrderServiceTest
saveOrder_shouldNotAllowRevisingAStoppedOrder
|
< 1 sec | |
java.lang.AssertionError: Expected: (an instance of org.openmrs.api.APIException and exception with message a string containing "Order.stopped.cannot.discontinued") but: exception with message a string containing "Order.stopped.cannot.discontinued" message was "Cannot discontinue an order that is already stopped, expired or voided" Stacktrace was: org.openmrs.api.APIException: Cannot discontinue an order that is already stopped, expired or voided at org.openmrs.api.impl.OrderServiceImpl.stopOrder(OrderServiceImpl.java:730) at org.openmrs.api.impl.OrderServiceImpl.saveOrder(OrderServiceImpl.java:171) at org.openmrs.api.impl.OrderServiceImpl.saveOrder(OrderServiceImpl.java:91) at sun.reflect.GeneratedMethodAccessor708.invoke(Unknown Source) (160 more lines...) |
|||
Collapse |
OrderServiceTest
saveOrder_shouldNotAllowRevisingAVoidedOrder
|
< 1 sec | |
java.lang.AssertionError: Expected: (an instance of org.openmrs.api.APIException and exception with message a string containing "Order.stopped.cannot.discontinued") but: exception with message a string containing "Order.stopped.cannot.discontinued" message was "Cannot discontinue an order that is already stopped, expired or voided" Stacktrace was: org.openmrs.api.APIException: Cannot discontinue an order that is already stopped, expired or voided at org.openmrs.api.impl.OrderServiceImpl.stopOrder(OrderServiceImpl.java:730) at org.openmrs.api.impl.OrderServiceImpl.saveOrder(OrderServiceImpl.java:171) at org.openmrs.api.impl.OrderServiceImpl.saveOrder(OrderServiceImpl.java:91) at sun.reflect.GeneratedMethodAccessor708.invoke(Unknown Source) (160 more lines...) |
|||
Collapse |
OrderServiceTest
saveOrder_shouldNotAllowRevisingAnExpiredOrder
|
< 1 sec | |
java.lang.AssertionError: Expected: (an instance of org.openmrs.api.APIException and exception with message a string containing "Order.stopped.cannot.discontinued") but: exception with message a string containing "Order.stopped.cannot.discontinued" message was "Cannot discontinue an order that is already stopped, expired or voided" Stacktrace was: org.openmrs.api.APIException: Cannot discontinue an order that is already stopped, expired or voided at org.openmrs.api.impl.OrderServiceImpl.stopOrder(OrderServiceImpl.java:730) at org.openmrs.api.impl.OrderServiceImpl.saveOrder(OrderServiceImpl.java:171) at org.openmrs.api.impl.OrderServiceImpl.saveOrder(OrderServiceImpl.java:91) at sun.reflect.GeneratedMethodAccessor708.invoke(Unknown Source) (160 more lines...) |
|||
Collapse |
OrderServiceTest
saveRetrospectiveOrder_shouldFailIfAnActiveDrugOrderForTheSameConceptAndCareSettingExistsAtOrderDateActivated
|
< 1 sec | |
java.lang.AssertionError: Expected: (an instance of org.openmrs.api.APIException and exception with message a string containing "Cannot have more than one active order for the same orderable and care setting") but: exception with message a string containing "Cannot have more than one active order for the same orderable and care setting" message was "Order.cannot.have.more.than.one" Stacktrace was: org.openmrs.api.AmbiguousOrderException: Order.cannot.have.more.than.one at org.openmrs.api.impl.OrderServiceImpl.saveOrder(OrderServiceImpl.java:223) at org.openmrs.api.impl.OrderServiceImpl.saveRetrospectiveOrder(OrderServiceImpl.java:99) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) (162 more lines...) |