diff --git a/core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityBaseUnitTest.php b/core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityBaseUnitTest.php index 5e11828..b654077 100644 --- a/core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityBaseUnitTest.php +++ b/core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityBaseUnitTest.php @@ -478,11 +478,12 @@ public function testToArray() { */ public function testToArrayIdKey() { $entity = $this->getMockForAbstractClass('\Drupal\Core\Config\Entity\ConfigEntityBase', [[], $this->entityTypeId], '', TRUE, TRUE, TRUE, ['id', 'get']); - $entity->expects($this->exactly(3)) + $entity->expects($this->atLeastOnce()) ->method('id') ->willReturn($this->id); $entity->expects($this->once()) ->method('get') + ->with('dependencies') ->willReturn([]); $this->typedConfigManager->expects($this->never()) ->method('getDefinition');