Plan for OpenMRS Core 2.0.x
Build: #126 failed
Job: Build and Test failed
Job result summary
- Completed
- Duration
- 7 minutes
- Revision
-
b6725e8d98ed34a0310c3caffc92461035afdd0a
- Total tests
- 3231
- Fixed in
- #127 (Changes by dkayiwa <kayiwadaniel@gmail.com>)
Tests
- 3,231 tests in total
- 3 tests failed
- 3 failures are new
- 31 tests were quarantined / skipped
- 4 minutes taken in total.
| Status | Test | Duration | |
|---|---|---|---|
| Collapse |
OrderEntryIntegrationTest
shouldFailIfAnEditedOrderIsFlushed
|
< 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_shouldFailIfAnEntityHasAChangedProperty
|
< 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...)
|
|||
| Collapse |
ImmutableEntityInterceptorTest
onFlushDirty_shouldFailIfTheEditedObjectIsVoidedOrRetiredAndIgnoreIsSetToFalse
|
< 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...)
|
|||