More details of the release in https://wiki.openmrs.org/x/i4DTAw

Build: #211 failed

Job: Default Job failed

Stages & jobs

  1. Default Stage

  2. Release

    Requires a user to start manually

Job result summary

Completed
Duration
1 minute
Revision
ea2493486d780182af403f5b545118109f62cbca ea2493486d780182af403f5b545118109f62cbca
Total tests
76
Fixed in
#212 (Manual run by Daniel Kayiwa)

Tests

  • 76 tests in total
  • 1 test failed
  • 1 failure is new
  • 2 tests were quarantined / skipped
  • 58 seconds taken in total.
New test failures 1
Status Test Duration
Collapse Failed IdentifierSourceControllerTest importIdentifiers_shouldAcceptJson History
< 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...)