diff --git a/core/modules/entity_reference/src/Tests/Views/EntityReferenceRelationshipTest.php b/core/modules/entity_reference/src/Tests/Views/EntityReferenceRelationshipTest.php index c84cb44..bb25ea9 100644 --- a/core/modules/entity_reference/src/Tests/Views/EntityReferenceRelationshipTest.php +++ b/core/modules/entity_reference/src/Tests/Views/EntityReferenceRelationshipTest.php @@ -129,7 +129,7 @@ public function testRelationship() { foreach (array_keys($view->result) as $index) { // Just check that the actual ID of the entity is the expected one. - $this->assertEqual($view->style_plugin->getFieldValue($index, 'id'), $this->entities[$index + 1]->id()); + $this->assertEqual($view->style_plugin->getField($index, 'id'), $this->entities[$index + 1]->id()); // Test the forward relationship. // The second and third entity refer to the first one. $this->assertEqual($view->style_plugin->getField($index, 'id_1'), $index == 0 ? 0 : 1);