projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Upgraded drupal core with security updates
[yaffs-website]
/
web
/
core
/
tests
/
Drupal
/
Tests
/
Core
/
Cache
/
CacheCollectorTest.php
diff --git
a/web/core/tests/Drupal/Tests/Core/Cache/CacheCollectorTest.php
b/web/core/tests/Drupal/Tests/Core/Cache/CacheCollectorTest.php
index 1ff662939ee64c83ae5f0a2b0d81c03e30e33119..0c06a4b8652898cd6faf71a89267efc86673c9cc 100644
(file)
--- 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')
// 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, []);
$this->cacheBackend->expects($this->once())
->method('set')
->with($this->cid, [], Cache::PERMANENT, []);