Build and Release Plan for FHIR2 Module
Build: #379 failed
Job: Build and test Module failed
Job result summary
Tests
- 4,939 tests in total
- 1 test failed
- 4 tests were quarantined / skipped
- 1 minute taken in total.
Status | Test | Failing since | Duration | |
---|---|---|---|---|
OpenmrsFhirAddressStrategyTest
unnecessary Mockito stubbings
|
Failing since build #378 (Code changes detected) | < 1 sec | ||
org.mockito.exceptions.misusing.UnnecessaryStubbingException: Unnecessary stubbings detected in test class: OpenmrsFhirAddressStrategyTest Clean & maintainable test code requires zero unnecessary code. Following stubbings are unnecessary (click to navigate to relevant line of code): 1. -> at org.openmrs.module.fhir2.web.util.OpenmrsFhirAddressStrategyTest.shouldProperlyHandleStandardProxyHeaders(OpenmrsFhirAddressStrategyTest.java:176) 2. -> at org.openmrs.module.fhir2.web.util.OpenmrsFhirAddressStrategyTest.shouldProperlyHandleStandardProxyHeaders(OpenmrsFhirAddressStrategyTest.java:177) Please remove unnecessary stubbings or use 'lenient' strictness. More info: javadoc for UnnecessaryStubbingException class. org.mockito.exceptions.misusing.UnnecessaryStubbingException: (7 more lines...) |