diff --git a/core/tests/Drupal/Tests/Core/Entity/Sql/DefaultTableMappingTest.php b/core/tests/Drupal/Tests/Core/Entity/Sql/DefaultTableMappingTest.php index 113543d702c25da7bec4514724fa6db49f275147..5753f1a7d7021fe1c2e0765db10b1bb724f972af 100644 --- a/core/tests/Drupal/Tests/Core/Entity/Sql/DefaultTableMappingTest.php +++ b/core/tests/Drupal/Tests/Core/Entity/Sql/DefaultTableMappingTest.php @@ -362,6 +362,9 @@ public function testGetFieldTableName($table_names, $expected) { ->expects($this->any()) ->method('getColumns') ->willReturn($columns); + $definition->expects($this->any()) + ->method('getTargetEntityTypeId') + ->willReturn('entity_test'); $this->entityType ->expects($this->any())