Hi All,
I’m writing unit tests for an OpenMRS module which uses new tables(event & subscription). However, when trying to run unit tests it gives a NoSuchTable Exception for the event table. Below is the error message.
You can find the test file here [1]
[1] openmrs-module-notification/SubscriptionManagementServiceTest.java at master · IsurangaPerera/openmrs-module-notification · GitHub
Appreciate any help.
CC: @danfuterman
Try include them like here: https://github.com/openmrs/openmrs-module-reporting/blob/master/api-tests/src/test/resources/TestingApplicationContext.xml#L20
@dkayiwa try adding https://github.com/IsurangaPerera/openmrs-owa-notification/blob/master/api/src/test/resources/TestingApplicationContext.xml#L20. But problem still exists.
I’ve used a wrong file name. Problem is fixed now
@dkayiwa thanks for your help