While writing tests for this issue, i got the following error :
Running org.openmrs.api.AdministrationServiceTest
Tests run: 60, Failures: 0, Errors: 1, Skipped: 2, Time elapsed: 14.664 sec <<< FAILURE! - in org.openmrs.api.AdministrationServiceTest
setImplementationId_shouldOverwriteImplementationIdInDatabaseIfExists(org.openmrs.api.AdministrationServiceTest) Time elapsed: 0.016 sec <<< ERROR!
org.dbunit.DatabaseUnitRuntimeException: org.dbunit.dataset.NoSuchTableException: concept_source
at org.dbunit.database.DatabaseDataSet.getTableMetaData(DatabaseDataSet.java:305)
at org.dbunit.operation.AbstractOperation.getOperationMetaData(AbstractOperation.java:80)
at org.dbunit.operation.RefreshOperation.execute(RefreshOperation.java:101)
at org.openmrs.test.BaseContextSensitiveTest.executeDataSet(BaseContextSensitiveTest.java:785)
at org.openmrs.test.BaseContextSensitiveTest.executeDataSet(BaseContextSensitiveTest.java:679)
at org.openmrs.api.AdministrationServiceTest.setImplementationId_shouldOverwriteImplementationIdInDatabaseIfExists(AdministrationServiceTest.java:222)
I checked for the table name here and found the table name as concept_reference_source which i think is incorrectly written here as concept_source.
I tried changing it but the changes are getting automatically reverted when building the code.
Please anyone have a look at it and tell me how to change this.
Regards,
Prabodh