Change interface for objectStorage

This commit is contained in:
Frederic Guillot
2015-09-23 21:22:03 -04:00
parent 25b9e90ef3
commit 5be5205629
4 changed files with 14 additions and 6 deletions

View File

@@ -227,13 +227,21 @@ class FileTest extends Base
->expects($this->at(1))
->method('remove')
->with(
$this->equalTo('/tmp/foo1')
$this->equalTo('thumbnails//tmp/foo2')
)
->will($this->returnValue(true));
$this->container['objectStorage']
->expects($this->at(2))
->method('remove')
->with(
$this->equalTo('/tmp/foo1')
)
->will($this->returnValue(true));
$this->container['objectStorage']
->expects($this->at(3))
->method('remove')
->with(
$this->equalTo('/tmp/foo3')
)