summaryrefslogtreecommitdiff
path: root/tests/units/Model/FileTest.php
diff options
context:
space:
mode:
authorMax Kamashev <kamashev@gollard.ru>2015-09-24 12:07:40 +0300
committerMax Kamashev <kamashev@gollard.ru>2015-09-24 12:07:40 +0300
commit3f5b636c998171837fc2265f760359b421d67b61 (patch)
treea505f4f1767efff50224b649e647a02ae3638e12 /tests/units/Model/FileTest.php
parent5b2e49d2945ce2c1daaf4dd78746a910eab9c9c8 (diff)
parent1b0b69a43f7528fd5188d4b48216c6fa7e32eac3 (diff)
Merge branch 'master' of https://github.com/ukko/kanboard into 1245_bug_with_subtask_timer
Diffstat (limited to 'tests/units/Model/FileTest.php')
-rw-r--r--tests/units/Model/FileTest.php10
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));