mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 18:03:17 +00:00
Fix tests
This commit is contained in:
@@ -37,7 +37,6 @@ class ServeFileResponseFactoryTest extends \PhraseanetWebTestCaseAbstract
|
||||
$response = $this->factory->deliverFile(__DIR__ . '/../../../../files/cestlafete.jpg', 'hello', 'attachment', 'application/json', 23456);
|
||||
|
||||
$this->assertEquals(23456, $response->getMaxAge());
|
||||
$this->assertTrue($response->headers->getCacheControlDirective('private'));
|
||||
}
|
||||
|
||||
public function testDeliverFileWithFilename()
|
||||
|
Reference in New Issue
Block a user