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

Build: #273 failed

Job: Default Job failed

Stages & jobs

  1. Default Stage

Test results

  • 621 tests in total
  • 2 tests failed
  • 2 failures are new
  • 2 minutes taken in total.

Build 273 has the following 2 errors: 2 new failure(s) occurred since the previous build.

New test failures 2
Status Test Duration
Collapse Failed RelationshipTypeController1_8Test shouldGetARelationshipTypeByName
< 1 sec
java.lang.AssertionError: expected:<Relationship from a primary care provider to the patient> but was:<null>
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.failNotEquals(Assert.java:743)
	at org.junit.Assert.assertEquals(Assert.java:118)
	at org.junit.Assert.assertEquals(Assert.java:144)
	at org.openmrs.module.webservices.rest.web.v1_0.controller.openmrs1_8.RelationshipTypeController1_8Test.shouldGetARelationshipTypeByName(RelationshipTypeController1_8Test.java:74)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
(35 more lines...)
Collapse Failed RelationshipTypeResource1_8Test asRepresentation_shouldReturnValidDefaultRepresentation
< 1 sec
java.lang.AssertionError: description expected:<Relationship from a primary care provider to the patient> but was:<null>
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.failNotEquals(Assert.java:743)
	at org.junit.Assert.assertEquals(Assert.java:118)
	at org.openmrs.module.webservices.rest.web.resource.impl.BaseDelegatingResourceTest.assertPropEquals(BaseDelegatingResourceTest.java:238)
	at org.openmrs.module.webservices.rest.web.v1_0.resource.openmrs1_8.RelationshipTypeResource1_8Test.validateDefaultRepresentation(RelationshipTypeResource1_8Test.java:32)
	at org.openmrs.module.webservices.rest.web.resource.impl.BaseDelegatingResourceTest.asRepresentation_shouldReturnValidDefaultRepresentation(BaseDelegatingResourceTest.java:286)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
(36 more lines...)