OpenMRS Core Master

Build: #956 failed

Job: Build and Test failed

Stages & jobs

  1. Build and Test

  2. Deploy

  3. Release

    Requires a user to start manually

On submit should retire location: Test case result

The below summarizes the result of the test "On submit should retire location" in build 956 of OpenMRS Core - OpenMRS Core Master - Build and Test. View test case history
Description
On submit should retire location
Test class
org.openmrs.web.controller.encounter.LocationFormControllerTest
Method
onSubmit_shouldRetireLocation
Duration
< 1 sec
Status
Failed (New Failure)

Error Log

org.openmrs.api.APIAuthenticationException: error.privilegesRequired
	at org.openmrs.aop.AuthorizationAdvice.throwUnauthorized(AuthorizationAdvice.java:117)
	at org.openmrs.aop.AuthorizationAdvice.before(AuthorizationAdvice.java:98)
	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.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)
	at com.sun.proxy.$Proxy80.getLocation(Unknown Source)
	at org.openmrs.validator.LocationValidator.validate(LocationValidator.java:72)
	at org.springframework.validation.ValidationUtils.invokeValidator(ValidationUtils.java:83)
	at org.springframework.validation.ValidationUtils.invokeValidator(ValidationUtils.java:55)
	at org.springframework.web.servlet.mvc.BaseCommandController.bindAndValidate(BaseCommandController.java:393)
	at org.springframework.web.servlet.mvc.AbstractFormController.handleRequestInternal(AbstractFormController.java:264)
	at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:146)
	at org.openmrs.web.controller.encounter.LocationFormControllerTest.onSubmit_shouldRetireLocation(LocationFormControllerTest.java:70)