diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-09-23 21:22:03 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-09-23 21:22:03 -0400 |
commit | 5be520562997d3898268ed6bb44720ca35e062f1 (patch) | |
tree | b512de0e40507ea004a287de3b807d78e23fbcc7 /tests/units | |
parent | 25b9e90ef3b6018f898047be025ad859fcbbd96a (diff) |
Change interface for objectStorage
Diffstat (limited to 'tests/units')
-rw-r--r-- | tests/units/Model/FileTest.php | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/tests/units/Model/FileTest.php b/tests/units/Model/FileTest.php index e7520c89..d1ad7248 100644 --- a/tests/units/Model/FileTest.php +++ b/tests/units/Model/FileTest.php @@ -227,7 +227,7 @@ class FileTest extends Base ->expects($this->at(1)) ->method('remove') ->with( - $this->equalTo('/tmp/foo1') + $this->equalTo('thumbnails//tmp/foo2') ) ->will($this->returnValue(true)); @@ -235,6 +235,14 @@ class FileTest extends Base ->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') ) ->will($this->returnValue(true)); |