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

Build: #1500 failed

Job: Default Job failed

Stages & jobs

  1. Default Stage

  2. Release

    Requires a user to start manually

Should get address template: Test case result

The below summarizes the result of the test "Should get address template" in build 1,500 of Rest Webservices - Rest Webservices Module - Default Job. View test case history
Description
Should get address template
Test class
org.openmrs.module.webservices.rest.web.v1_0.controller.openmrs2_0.AddressTemplateController2_0Test
Method
shouldGetAddressTemplate
Duration
< 1 sec
Status
Failed (New Failure)

Error Log

java.lang.AssertionError: expected:<{displayName=null, codeName=default, country=null, lines=[[{isToken=IS_NOT_ADDR_TOKEN, displayText=}, {isToken=IS_ADDR_TOKEN, displayText=Location.address1, codeName=address1, displaySize=40}], [{isToken=IS_NOT_ADDR_TOKEN, displayText=}, {isToken=IS_ADDR_TOKEN, displayText=Location.address2, codeName=address2, displaySize=40}], [{isToken=IS_NOT_ADDR_TOKEN, displayText=}, {isToken=IS_ADDR_TOKEN, displayText=Location.cityVillage, codeName=cityVillage, displaySize=10}, {isToken=IS_NOT_ADDR_TOKEN, displayText= }, {isToken=IS_ADDR_TOKEN, displayText=Location.stateProvince, codeName=stateProvince, displaySize=10}, {isToken=IS_NOT_ADDR_TOKEN, displayText= }, {isToken=IS_ADDR_TOKEN, displayText=Location.country, codeName=country, displaySize=10}, {isToken=IS_NOT_ADDR_TOKEN, displayText= }, {isToken=IS_ADDR_TOKEN, displayText=Location.postalCode, codeName=postalCode, displaySize=10}]], lineByLineFormat=[address1, address2, cityVillage stateProvince country postalCode], nameMappings={address2=Location.address2, stateProvince=Location.stateProvince, address1=Location.address1, postalCode=Location.postalCode, cityVillage=Location.cityVillage, country=Location.country}, sizeMappings={address2=40, stateProvince=10, address1=40, postalCode=10, cityVillage=10, country=10}, elementDefaults=null, elementRegex=null, elementRegexFormats=null, requiredElements=null}> but was:<{displayName=null, codeName=default, country=null, lines=[[{isToken=IS_NOT_ADDR_TOKEN, displayText=}, {isToken=IS_ADDR_TOKEN, displayText=Location.address1, codeName=address1, displaySize=40}], [{isToken=IS_NOT_ADDR_TOKEN, displayText=}, {isToken=IS_ADDR_TOKEN, displayText=Location.address2, codeName=address2, displaySize=40}], [{isToken=IS_NOT_ADDR_TOKEN, displayText=}, {isToken=IS_ADDR_TOKEN, displayText=Location.cityVillage, codeName=cityVillage, displaySize=10}, {isToken=IS_NOT_ADDR_TOKEN, displayText= }, {isToken=IS_ADDR_TOKEN, displayText=Location.stateProvince, codeName=stateProvince, displaySize=10}, {isToken=IS_NOT_ADDR_TOKEN, displayText= }, {isToken=IS_ADDR_TOKEN, displayText=Location.country, codeName=country, displaySize=10}, {isToken=IS_NOT_ADDR_TOKEN, displayText= }, {isToken=IS_ADDR_TOKEN, displayText=Location.postalCode, codeName=postalCode, displaySize=10}]], nameMappings={address2=Location.address2, stateProvince=Location.stateProvince, address1=Location.address1, postalCode=Location.postalCode, cityVillage=Location.cityVillage, country=Location.country}, sizeMappings={address2=40, stateProvince=10, address1=40, postalCode=10, cityVillage=10, country=10}, elementDefaults=null, elementRegex=null, elementRegexFormats=null, requiredElements=null}>
	at org.openmrs.module.webservices.rest.web.v1_0.controller.openmrs2_0.AddressTemplateController2_0Test.shouldGetAddressTemplate(AddressTemplateController2_0Test.java:43)