Plan for OpenMRS Core 2.0.x
Build: #126 failed Changes by dkayiwa <kayiwadaniel@gmail.com>
Test results
- 3,283 tests in total
- 3 tests failed
- 3 failures are new
- 34 tests were quarantined / skipped
- 5 minutes taken in total.
Status | Test | View job | Duration | |
---|---|---|---|---|
Collapse |
OrderEntryIntegrationTest
shouldFailIfAnEditedOrderIsFlushed
|
Build and Test | < 1 sec | |
java.lang.AssertionError: Expected: (an instance of org.openmrs.api.APIException and exception with message is "Editing some fields on Order is not allowed") but: exception with message is "Editing some fields on Order is not allowed" message was "Editing some fields: [instructions] on Order is not allowed" Stacktrace was: org.openmrs.api.APIException: Editing some fields: [instructions] on Order is not allowed at org.openmrs.api.db.hibernate.ImmutableEntityInterceptor.onFlushDirty(ImmutableEntityInterceptor.java:111) at org.openmrs.api.db.hibernate.ChainingInterceptor.onFlushDirty(ChainingInterceptor.java:75) at org.hibernate.event.internal.DefaultFlushEntityEventListener.invokeInterceptor(DefaultFlushEntityEventListener.java:365) at org.hibernate.event.internal.DefaultFlushEntityEventListener.handleInterception(DefaultFlushEntityEventListener.java:342) (152 more lines...) |
||||
Collapse |
ImmutableEntityInterceptorTest
onFlushDirty_shouldFailIfTheEditedObjectIsVoidedOrRetiredAndIgnoreIsSetToFalse
|
Build and Test | < 1 sec | |
java.lang.AssertionError: Expected: (an instance of org.openmrs.api.APIException and exception with message is "Editing some fields on Order is not allowed") but: exception with message is "Editing some fields on Order is not allowed" message was "Editing some fields: [immutable] on Order is not allowed" Stacktrace was: org.openmrs.api.APIException: Editing some fields: [immutable] on Order is not allowed at org.openmrs.api.db.hibernate.ImmutableEntityInterceptor.onFlushDirty(ImmutableEntityInterceptor.java:111) at org.openmrs.api.db.hibernate.ImmutableEntityInterceptorTest.onFlushDirty_shouldFailIfTheEditedObjectIsVoidedOrRetiredAndIgnoreIsSetToFalse(ImmutableEntityInterceptorTest.java:106) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) (104 more lines...) |
||||
Collapse |
ImmutableEntityInterceptorTest
onFlushDirty_shouldFailIfAnEntityHasAChangedProperty
|
Build and Test | < 1 sec | |
java.lang.AssertionError: Expected: (an instance of org.openmrs.api.APIException and exception with message is "Editing some fields on Order is not allowed") but: exception with message is "Editing some fields on Order is not allowed" message was "Editing some fields: [immutable] on Order is not allowed" Stacktrace was: org.openmrs.api.APIException: Editing some fields: [immutable] on Order is not allowed at org.openmrs.api.db.hibernate.ImmutableEntityInterceptor.onFlushDirty(ImmutableEntityInterceptor.java:111) at org.openmrs.api.db.hibernate.ImmutableEntityInterceptorTest.onFlushDirty_shouldFailIfAnEntityHasAChangedProperty(ImmutableEntityInterceptorTest.java:74) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) (104 more lines...) |