Skip to content

Instantly share code, notes, and snippets.

@jeffblack360
Created March 5, 2013 14:00
Show Gist options
  • Save jeffblack360/5090487 to your computer and use it in GitHub Desktop.
Save jeffblack360/5090487 to your computer and use it in GitHub Desktop.
DelegatingCrudResourceTest: Failed Unit-test
Testsuite: org.openmrs.module.webservices.rest.web.DelegatingCrudResourceTest
Tests run: 0, Failures: 0, Errors: 1, Time elapsed: 0.068 sec
Testcase: org.openmrs.module.webservices.rest.web.DelegatingCrudResourceTest: Caused an ERROR
contextDAO is null
org.openmrs.api.APIException: contextDAO is null
at org.openmrs.api.context.Context.getContextDAO(Context.java:167)
at org.openmrs.api.context.Context.closeSession(Context.java:732)
at org.openmrs.test.BaseContextSensitiveTest.closeSessionAfterEachClass(BaseContextSensitiveTest.java:710)
at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:180)
Test org.openmrs.module.webservices.rest.web.DelegatingCrudResourceTest FAILED
debug-test:
Deleting: /tmp/TEST-org.openmrs.module.webservices.rest.web.DelegatingCrudResourceTest.xml
BUILD SUCCESSFUL (total time: 3 seconds)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment