OpenMRS Core Master

Build: #2401 failed

Job: Build and Test failed

Stages & jobs

  1. Build and Test

  2. Deploy

  3. Release

    Requires a user to start manually

Validate should fail if non coded allergen is null and allergen is set to other non coded{concept, allergen}: Test case result

The below summarizes the result of the test "Validate should fail if non coded allergen is null and allergen is set to other non coded{concept, allergen}" in build 2,401 of OpenMRS Core - OpenMRS Core Master - Build and Test. View test case history
Description
Validate should fail if non coded allergen is null and allergen is set to other non coded{concept, allergen}
Test class
org.openmrs.validator.AllergyValidatorTest
Method
validate_shouldFailIfNonCodedAllergenIsNullAndAllergenIsSetToOtherNonCoded{Concept, Allergen}
Duration
< 1 sec
Status
Failed (New Failure)

Error Log

org.junit.jupiter.api.extension.ParameterResolutionException: Failed to resolve parameter [org.openmrs.Concept arg0] in method [public void org.openmrs.validator.AllergyValidatorTest.validate_shouldFailIfNonCodedAllergenIsNullAndAllergenIsSetToOtherNonCoded(org.openmrs.Concept,org.openmrs.Allergen)]: org.mockito.internal.configuration.MockAnnotationProcessor.processAnnotationForMock(Lorg/mockito/Mock;Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Object;
Caused by: java.lang.NoSuchMethodError: org.mockito.internal.configuration.MockAnnotationProcessor.processAnnotationForMock(Lorg/mockito/Mock;Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Object;