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

Job result summary

Completed
Duration
3 minutes
Revision
e7262f9e4a0e0dedadd780770f582b788c3001c4 e7262f9e4a0e0dedadd780770f582b788c3001c4
Total tests
621
Fixed in
#274 (Code changes detected)

Tests

  • 621 tests in total
  • 2 tests failed
  • 2 failures are new
  • 2 minutes taken in total.
New test failures 2
Status Test Duration
Collapse Failed RelationshipTypeController1_8Test shouldGetARelationshipTypeByName History
< 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 History
< 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...)