metadatadeploy module failing on building after upgrading core!

@herbert24, did you have chance to look at Error after including <properties> <openMRSBuildVersion>1.10.2</openMRSBuildVersion> </properties> ?

Here though is my thought to resolve the failing tests (which in this case is getLocation_shouldFetchByUuid() test method in api/src/test/java/org/openmrs/module/metadatadeploy/MetadataUtilsTest.java)

A quick fix I presume to make this specifically failing test pass, would be to replace the Uuid used here with the one that implicitly comes with the 1.10.* and above for the Location with Id 1, which I believe can be got from the database (Location Table in specific) related to the openmrs version you are interested in. For example you may try this Uuid 8d6c993e-c2cc-11de-8d13-0010c6dffd0f, see if the test passes.

1 Like