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 ec31e4f commit 651b2d5Copy full SHA for 651b2d5
tests/Cache/CacheFileStoreTest.php
@@ -138,6 +138,7 @@ public function testFlushCleansDirectory()
138
$files = $this->mockFilesystem();
139
$files->expects($this->once())->method('isDirectory')->with($this->equalTo(__DIR__))->will($this->returnValue(true));
140
$files->expects($this->once())->method('directories')->with($this->equalTo(__DIR__))->will($this->returnValue(['foo']));
141
+ $files->expects($this->once())->method('files')->with($this->equalTo(__DIR__))->will($this->returnValue([]));
142
$files->expects($this->once())->method('deleteDirectory')->with($this->equalTo('foo'))->will($this->returnValue(true));
143
144
$store = new FileStore($files, __DIR__);
0 commit comments