Skip to content

Commit 651b2d5

Browse files
committed
Fix tests
1 parent ec31e4f commit 651b2d5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/Cache/CacheFileStoreTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ public function testFlushCleansDirectory()
138138
$files = $this->mockFilesystem();
139139
$files->expects($this->once())->method('isDirectory')->with($this->equalTo(__DIR__))->will($this->returnValue(true));
140140
$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([]));
141142
$files->expects($this->once())->method('deleteDirectory')->with($this->equalTo('foo'))->will($this->returnValue(true));
142143

143144
$store = new FileStore($files, __DIR__);

0 commit comments

Comments
 (0)