Remove static method in ServeFileResponseFactory

This commit is contained in:
Benoît Burnichon
2016-01-14 10:58:18 +01:00
parent bba360c3a1
commit c5b57395fd
3 changed files with 3 additions and 22 deletions

View File

@@ -16,12 +16,6 @@ class ServeFileResponseFactoryTest extends \PhraseanetWebTestCase
{
protected $factory;
public function testDeliverFileFactoryCreation()
{
$factory = ServeFileResponseFactory::create(self::$DI['app']);
$this->assertInstanceOf('Alchemy\Phrasea\Http\ServeFileResponseFactory', $factory);
}
public function testDeliverFile()
{
$this->factory = new ServeFileResponseFactory(new \unicode());