More details of the release in https://wiki.openmrs.org/x/i4DTAw
Build: #211 failed
Job: Default Job failed
Test results
- 76 tests in total
- 1 test failed
- 1 failure is new
- 2 tests were quarantined / skipped
- 58 seconds taken in total.
Build 211 has the following 1 errors: 1 new failure(s) occurred since the previous build.
Status | Test | Duration | |
---|---|---|---|
Collapse |
IdentifierSourceControllerTest
importIdentifiers_shouldAcceptJson
|
< 1 sec | |
org.mockito.exceptions.misusing.InvalidUseOfMatchersException: Misplaced argument matcher detected here: -> at org.openmrs.module.idgen.web.controller.IdentifierSourceRestControllerTest.shouldThrowAnExceptionWhenARequiredParameterIsMissing(IdentifierSourceRestControllerTest.java:209) You cannot use argument matchers outside of verification or stubbing. Examples of correct usage of argument matchers: when(mock.get(anyInt())).thenReturn(null); doThrow(new RuntimeException()).when(mock).someVoidMethod(anyObject()); verify(mock).someMethod(contains("foo")) Also, this error might show up because you use argument matchers with methods that cannot be mocked. Following methods *cannot* be stubbed/verified: final/private/equals()/hashCode(). org.mockito.exceptions.misusing.InvalidUseOfMatchersException: Misplaced argument matcher detected here: -> at org.openmrs.module.idgen.web.controller.IdentifierSourceRestControllerTest.shouldThrowAnExceptionWhenARequiredParameterIsMissing(IdentifierSourceRestControllerTest.java:209) You cannot use argument matchers outside of verification or stubbing. Examples of correct usage of argument matchers: (37 more lines...) |