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

Find provider should return Amessage with no matches found when no providers are found: Test case result

The below summarizes the result of the test "Find provider should return Amessage with no matches found when no providers are found" in build 956 of OpenMRS Core - OpenMRS Core Master - Build and Test. View test case history
Description
Find provider should return Amessage with no matches found when no providers are found
Test class
org.openmrs.web.dwr.DWRProviderServiceTest
Method
findProvider_shouldReturnAMessageWithNoMatchesFoundWhenNoProvidersAreFound
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.$Proxy106.getProviders(Unknown Source)
	at org.openmrs.web.dwr.DWRProviderService.findProvider(DWRProviderService.java:50)
	at org.openmrs.web.dwr.DWRProviderServiceTest.findProvider_shouldReturnAMessageWithNoMatchesFoundWhenNoProvidersAreFound(DWRProviderServiceTest.java:48)