diff --git a/core/modules/entity_reference/src/Tests/Views/EntityReferenceRelationshipTest.php b/core/modules/entity_reference/src/Tests/Views/EntityReferenceRelationshipTest.php index fb7d980..73335a5 100644 --- a/core/modules/entity_reference/src/Tests/Views/EntityReferenceRelationshipTest.php +++ b/core/modules/entity_reference/src/Tests/Views/EntityReferenceRelationshipTest.php @@ -131,8 +131,9 @@ public function testRelationship() { $this->assertEqual($view->result[$index]->id, $this->entities[$index + 1]->id()); // Test the forward relationship. // The second and third entity refer to the first one. - //The value key on the result will be in the format BASE_TABLE_FIELD_NAME. - $this->assertEqual($view->result[$index]->entity_test_entity_test__field_test_id, $index == 0 ? 0 : 1); + // The value key on the result will be in the format + // BASE_TABLE_FIELD_NAME. + $this->assertEqual($view->result[$index]->entity_test_entity_test__field_test_id, $index == 0 ? NULL : 1); if ($index > 0) { // Test that the correct relationship entity is on the row.