summaryrefslogtreecommitdiff
path: root/tests/units/Model/TaskFileTest.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-03-26 14:43:41 -0400
committerFrederic Guillot <fred@kanboard.net>2016-03-26 14:43:41 -0400
commit820c929ab38273c80d0930e2e6140dd7676ba4df (patch)
tree3944047e41d14077f7e5e8c0d50856b360a22567 /tests/units/Model/TaskFileTest.php
parente71f37238c82f01cd02d6d7343b42328d9603d14 (diff)
Added avatar image upload
Diffstat (limited to 'tests/units/Model/TaskFileTest.php')
-rw-r--r--tests/units/Model/TaskFileTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/units/Model/TaskFileTest.php b/tests/units/Model/TaskFileTest.php
index b900e8f3..e44e092d 100644
--- a/tests/units/Model/TaskFileTest.php
+++ b/tests/units/Model/TaskFileTest.php
@@ -331,7 +331,7 @@ class TaskFileTest extends Base
$fileModel = $this
->getMockBuilder('\Kanboard\Model\TaskFile')
->setConstructorArgs(array($this->container))
- ->setMethods(array('generateThumbnailFromFile'))
+ ->setMethods(array('generateThumbnailFromData'))
->getMock();
$projectModel = new Project($this->container);
@@ -343,7 +343,7 @@ class TaskFileTest extends Base
$fileModel
->expects($this->once())
- ->method('generateThumbnailFromFile');
+ ->method('generateThumbnailFromData');
$this->container['objectStorage']
->expects($this->once())