Skip to content

Commit 454c713

Browse files
Merge branch '4.4' into 5.3
* 4.4: [Cache] Make sure PdoAdapter::prune() always returns a bool [HttpKernel] Fix broken mock [HttpClient] Fix handling timeouts when responses are destructed [PropertyInfo] Support for intersection types
2 parents e38d4ee + 4619cd0 commit 454c713

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Tests/CacheClearer/Psr6CacheClearerTest.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,11 @@ public function testClearPool()
3232
$pool = $this->createMock(CacheItemPoolInterface::class);
3333
$pool
3434
->expects($this->once())
35-
->method('clear');
35+
->method('clear')
36+
->willReturn(true)
37+
;
3638

37-
(new Psr6CacheClearer(['pool' => $pool]))->clearPool('pool');
39+
$this->assertTrue((new Psr6CacheClearer(['pool' => $pool]))->clearPool('pool'));
3840
}
3941

4042
public function testClearPoolThrowsExceptionOnUnreferencedPool()

0 commit comments

Comments
 (0)