Collapse |
Failed
|
AccountServiceComponentTest
saveAccount_shouldSaveNewAccountWithAProviderAndUserAccount
History
|
Default Job |
30 secs |
java.lang.IllegalStateException: Failed to load ApplicationContext
at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContext(CacheAwareContextLoaderDelegate.java:99)
at org.springframework.test.context.TestContext.getApplicationContext(TestContext.java:122)
at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:109)
at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:75)
at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:307)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:211)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:288)
(69 more lines...)
|
Collapse |
Failed
|
AccountServiceTest
getAccountByPerson_shouldReturnTheAccountForTheSpecifiedPersonIfTheyAreAssociatedToAProvider
History
|
Default Job |
< 1 sec |
org.openmrs.api.APIException: Service not found: interface org.openmrs.api.UserService
at org.openmrs.api.context.ServiceContext.getService(ServiceContext.java:750)
at org.openmrs.api.context.ServiceContext.getUserService(ServiceContext.java:527)
at org.openmrs.api.context.Context.getUserService(Context.java:452)
at org.openmrs.module.adminui.account.Account.<init>(Account.java:44)
at org.openmrs.module.adminui.account.AccountServiceImpl.getAccountByPerson(AccountServiceImpl.java:173)
at org.openmrs.module.adminui.account.AccountServiceTest.getAccountByPerson_shouldReturnTheAccountForTheSpecifiedPersonIfTheyAreAssociatedToAProvider(AccountServiceTest.java:130)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
(29 more lines...)
|
Collapse |
Failed
|
AccountServiceTest
getAccountByPerson_shouldReturnTheAccountForTheSpecifiedPersonIfTheyAreAssociatedToAUser
History
|
Default Job |
< 1 sec |
org.openmrs.api.APIException: Service not found: interface org.openmrs.api.UserService
at org.openmrs.api.context.ServiceContext.getService(ServiceContext.java:750)
at org.openmrs.api.context.ServiceContext.getUserService(ServiceContext.java:527)
at org.openmrs.api.context.Context.getUserService(Context.java:452)
at org.openmrs.module.adminui.account.Account.<init>(Account.java:44)
at org.openmrs.module.adminui.account.AccountServiceImpl.getAccountByPerson(AccountServiceImpl.java:173)
at org.openmrs.module.adminui.account.AccountServiceTest.getAccountByPerson_shouldReturnTheAccountForTheSpecifiedPersonIfTheyAreAssociatedToAUser(AccountServiceTest.java:112)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
(29 more lines...)
|