commit 540ed3d6b20d939d134eb44b795e43eca43dbd01 Author: Pieter Frenssen Date: Fri Jul 24 16:14:14 2015 +0200 158 diff --git a/core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityStorageTest.php b/core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityStorageTest.php index 2566c73..508f39b 100644 --- a/core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityStorageTest.php +++ b/core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityStorageTest.php @@ -627,7 +627,7 @@ public function testSaveChangedUuid() { $config_object->expects($this->exactly(1)) ->method('getCacheContexts') ->willReturn([]); - $config_object->expects($this->exactly(2)) + $config_object->expects($this->exactly(1)) ->method('getCacheTags') ->willReturn(['config:foo']); $config_object->expects($this->exactly(1)) @@ -692,7 +692,7 @@ public function testLoad() { $config_object->expects($this->exactly(1)) ->method('getCacheContexts') ->willReturn([]); - $config_object->expects($this->exactly(2)) + $config_object->expects($this->exactly(1)) ->method('getCacheTags') ->willReturn(['config:foo']); $config_object->expects($this->exactly(1)) @@ -734,7 +734,7 @@ public function testLoadMultipleAll() { $foo_config_object->expects($this->exactly(1)) ->method('getCacheContexts') ->willReturn([]); - $foo_config_object->expects($this->exactly(2)) + $foo_config_object->expects($this->exactly(1)) ->method('getCacheTags') ->willReturn(['config:foo']); $foo_config_object->expects($this->exactly(1)) @@ -756,7 +756,7 @@ public function testLoadMultipleAll() { $bar_config_object->expects($this->exactly(1)) ->method('getCacheContexts') ->willReturn([]); - $bar_config_object->expects($this->exactly(2)) + $bar_config_object->expects($this->exactly(1)) ->method('getCacheTags') ->willReturn(['config:bar']); $bar_config_object->expects($this->exactly(1)) @@ -807,7 +807,7 @@ public function testLoadMultipleIds() { $config_object->expects($this->exactly(1)) ->method('getCacheContexts') ->willReturn([]); - $config_object->expects($this->exactly(2)) + $config_object->expects($this->exactly(1)) ->method('getCacheTags') ->willReturn(['config:foo']); $config_object->expects($this->exactly(1))