We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16caffd commit 4619cd0Copy full SHA for 4619cd0
Tests/CacheClearer/Psr6CacheClearerTest.php
@@ -32,9 +32,11 @@ public function testClearPool()
32
$pool = $this->createMock(CacheItemPoolInterface::class);
33
$pool
34
->expects($this->once())
35
- ->method('clear');
+ ->method('clear')
36
+ ->willReturn(true)
37
+ ;
38
- (new Psr6CacheClearer(['pool' => $pool]))->clearPool('pool');
39
+ $this->assertTrue((new Psr6CacheClearer(['pool' => $pool]))->clearPool('pool'));
40
}
41
42
public function testClearPoolThrowsExceptionOnUnreferencedPool()
0 commit comments