X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fcore%2Ftests%2FDrupal%2FTests%2FCore%2FCache%2FCacheCollectorTest.php;h=0c06a4b8652898cd6faf71a89267efc86673c9cc;hp=1ff662939ee64c83ae5f0a2b0d81c03e30e33119;hb=bfbba508964731508b9bd6d5835c2edc858db95b;hpb=cb9a80db11fc6b014e5b1e693a5a391c95eb5d9a diff --git a/web/core/tests/Drupal/Tests/Core/Cache/CacheCollectorTest.php b/web/core/tests/Drupal/Tests/Core/Cache/CacheCollectorTest.php index 1ff662939..0c06a4b86 100644 --- a/web/core/tests/Drupal/Tests/Core/Cache/CacheCollectorTest.php +++ b/web/core/tests/Drupal/Tests/Core/Cache/CacheCollectorTest.php @@ -327,7 +327,8 @@ class CacheCollectorTest extends UnitTestCase { // invalidation. $this->cacheBackend->expects($this->at(0)) ->method('get') - ->with($this->cid, TRUE); + ->with($this->cid, TRUE) + ->will($this->returnValue($cache)); $this->cacheBackend->expects($this->once()) ->method('set') ->with($this->cid, [], Cache::PERMANENT, []);