Sonar metrics for OpenMRS Core Master
Build: #1224 failed
Job: Sonar Full Analysis failed
Should create patient: Test case result
The below summarizes the result of the test "Should create patient" in build 1,224 of Sonar - OpenMRS Core Master - Sonar Full Analysis.
- Description
- Should create patient
- Test class
- org.openmrs.api.PatientServiceTest
- Method
- shouldCreatePatient
- Duration
- < 1 sec
- Status
- Failed (New Failure)
Error Log
org.openmrs.api.ValidationException: 'Patient#null' failed to validate with reason: deathDate: Death date must be after birth date at org.openmrs.validator.ValidateUtil.validate(ValidateUtil.java:79) at org.openmrs.aop.RequiredDataAdvice.before(RequiredDataAdvice.java:125) at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:51) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) at com.sun.proxy.$Proxy75.savePatient(Unknown Source) at org.openmrs.api.PatientServiceTest.shouldCreatePatient(PatientServiceTest.java:271)