summaryrefslogtreecommitdiff
path: root/tests/units/Model/FileTest.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-10-13 22:19:17 -0400
committerFrederic Guillot <fred@kanboard.net>2015-10-13 22:19:17 -0400
commit9c9ed02cd7ebc5dbbc99bcaed6f80988ce8a9677 (patch)
treec58789631d8f729dca8dbbf4108670e567dc25b4 /tests/units/Model/FileTest.php
parent7bfa38d93c7342fc5dc04722e7bc282f165b8cd4 (diff)
Change namespace to add Kanboard as prefix
Diffstat (limited to 'tests/units/Model/FileTest.php')
-rw-r--r--tests/units/Model/FileTest.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/units/Model/FileTest.php b/tests/units/Model/FileTest.php
index d1ad7248..e311cf75 100644
--- a/tests/units/Model/FileTest.php
+++ b/tests/units/Model/FileTest.php
@@ -2,10 +2,10 @@
require_once __DIR__.'/../Base.php';
-use Model\Task;
-use Model\File;
-use Model\TaskCreation;
-use Model\Project;
+use Kanboard\Model\Task;
+use Kanboard\Model\File;
+use Kanboard\Model\TaskCreation;
+use Kanboard\Model\Project;
class FileTest extends Base
{
@@ -14,7 +14,7 @@ class FileTest extends Base
parent::setUp();
$this->container['objectStorage'] = $this
- ->getMockBuilder('\Core\ObjectStorage\FileStorage')
+ ->getMockBuilder('\Kanboard\Core\ObjectStorage\FileStorage')
->setConstructorArgs(array($this->container))
->setMethods(array('put', 'moveFile', 'remove'))
->getMock();
@@ -104,7 +104,7 @@ class FileTest extends Base
$data = base64_encode('image data');
$f = $this
- ->getMockBuilder('\Model\File')
+ ->getMockBuilder('\Kanboard\Model\File')
->setConstructorArgs(array($this->container))
->setMethods(array('generateThumbnailFromData'))
->getMock();