java.lang.AssertionError: Expected: iterable containing [(map containing ["rel"->"self"] and map containing ["uri"->"NEED-TO-CONFIGURE/ws/rest/v1/concept/95312123-e0c2-466d-b6b1-cb6e990d0d65"]), (map containing ["rel"->"default"] and map containing ["uri"->"NEED-TO-CONFIGURE/ws/rest/v1/concept/95312123-e0c2-466d-b6b1-cb6e990d0d65?v=default"])] but: item 0: map containing ["uri"->"NEED-TO-CONFIGURE/ws/rest/v1/concept/95312123-e0c2-466d-b6b1-cb6e990d0d65"] map was [<rel=self>, <uri=http://localhost:80/ws/rest/v1/concept/95312123-e0c2-466d-b6b1-cb6e990d0d65>]
java.lang.AssertionError:
Expected: iterable containing [(map containing ["rel"->"self"] and map containing ["uri"->"NEED-TO-CONFIGURE/ws/rest/v1/concept/95312123-e0c2-466d-b6b1-cb6e990d0d65"]), (map containing ["rel"->"default"] and map containing ["uri"->"NEED-TO-CONFIGURE/ws/rest/v1/concept/95312123-e0c2-466d-b6b1-cb6e990d0d65?v=default"])]
but: item 0: map containing ["uri"->"NEED-TO-CONFIGURE/ws/rest/v1/concept/95312123-e0c2-466d-b6b1-cb6e990d0d65"] map was [<rel=self>, <uri=http://localhost:80/ws/rest/v1/concept/95312123-e0c2-466d-b6b1-cb6e990d0d65>]
at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
at org.junit.Assert.assertThat(Assert.java:865)
at org.junit.Assert.assertThat(Assert.java:832)
at org.openmrs.module.webservices.rest.web.v1_0.controller.openmrs1_8.ConceptController1_8Test.shouldReturnDefaultAndSelfLinkForCustomUuid(ConceptController1_8Test.java:404)
(37 more lines...)
|