core/tests/Drupal/Tests/Core/Config/ConfigFactoryTest.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/tests/Drupal/Tests/Core/Config/ConfigFactoryTest.php b/core/tests/Drupal/Tests/Core/Config/ConfigFactoryTest.php index 4e4f613..95bd570 100644 --- a/core/tests/Drupal/Tests/Core/Config/ConfigFactoryTest.php +++ b/core/tests/Drupal/Tests/Core/Config/ConfigFactoryTest.php @@ -81,6 +81,10 @@ public function testRename() { ->method('invalidateTags') ->with($old->getCacheTags()); + $this->storage->expects($this->once()) + ->method('rename') + ->with($old->getName(), $new->getName()); + $this->configFactory->rename($old->getName(), $new->getName()); }