Builds and runs unit tests. More details of the release in https://wiki.openmrs.org/x/i4DTAw

Build: #495 failed Changes by Rafal Korytkowski

Stages & jobs

  1. Default Stage

  2. Release

    Requires a user to start manually

Build result summary

Details

Completed
Queue duration
1 second
Duration
3 minutes
Labels
None
Revisions
openmrs-module-webservices.rest
184b82821438b46d1eb3257a51969a0e8163ddbb 184b82821438b46d1eb3257a51969a0e8163ddbb
Release scripts
a9c6b4741f415820e397e9b150cf80baca7f9368 a9c6b4741f415820e397e9b150cf80baca7f9368
Total tests
704
Fixed in
#496 (Changes by Rafal Korytkowski)

Tests

Responsible

Code commits

openmrs-module-webservices.rest
Author Commit Message Commit date
Rafal Korytkowski Rafal Korytkowski 184b82821438b46d1eb3257a51969a0e8163ddbb 184b82821438b46d1eb3257a51969a0e8163ddbb RESTWS-532 Never return NEED-TO-CONFIGURE in REST responses

Tests

New test failures 1
Status Test View job Duration
Collapse Failed ConceptController1_8Test shouldReturnDefaultAndSelfLinkForCustomUuid History
Default Job < 1 sec
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...)

Jira issues

IssueDescriptionStatus
Unknown Issue TypeRESTWS-532Could not obtain issue details from Jira