From 8936792f6f7a408dae7e0a6a41274202822acd9c Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Tue, 16 Feb 2016 21:12:43 -0500 Subject: Add file attachements to projects --- tests/units/Model/TaskFileTest.php | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'tests/units/Model') diff --git a/tests/units/Model/TaskFileTest.php b/tests/units/Model/TaskFileTest.php index 753a1fb6..b7db96a9 100644 --- a/tests/units/Model/TaskFileTest.php +++ b/tests/units/Model/TaskFileTest.php @@ -124,18 +124,6 @@ class TaskFileTest extends Base $this->assertFalse($fileModel->isImage('test.pdf')); } - public function testGetMimeType() - { - $fileModel = new TaskFile($this->container); - - $this->assertEquals('image/jpeg', $fileModel->getImageMimeType('My File.JPG')); - $this->assertEquals('image/jpeg', $fileModel->getImageMimeType('My File.jpeg')); - $this->assertEquals('image/png', $fileModel->getImageMimeType('My File.PNG')); - $this->assertEquals('image/gif', $fileModel->getImageMimeType('My File.gif')); - $this->assertEquals('image/jpeg', $fileModel->getImageMimeType('My File.bmp')); - $this->assertEquals('image/jpeg', $fileModel->getImageMimeType('My File')); - } - public function testGetThumbnailPath() { $fileModel = new TaskFile($this->container); -- cgit v1.2.3