With a clean checkout and “mvn clean install” of the of the REST web services module, the 2.2 OMOD tests fails with the following error. Is there a special profile one needs to set up to build this module?
asRepresentation_shouldReturnValidRefRepresentation(org.openmrs.module.webservices.rest.web.v1_0.resource.openmrs2_2.DiagnosisResource2_2Test) Time elapsed: 0.034 sec <<< ERROR!
org.dbunit.DatabaseUnitRuntimeException: org.dbunit.dataset.NoSuchTableException: condition
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.module.webservices.rest.web.v1_0.resource.openmrs2_2.DiagnosisResource2_2Test.before(DiagnosisResource2_2Test.java:25)