forked from wallabag/wallabag
Fix tests on pgsql
This commit is contained in:
committed by
Nicolas Lœuillet
parent
add597bad9
commit
33c36f6b48
@ -71,7 +71,7 @@ class ExportControllerTest extends WallabagCoreTestCase
|
|||||||
|
|
||||||
$headers = $client->getResponse()->headers;
|
$headers = $client->getResponse()->headers;
|
||||||
$this->assertEquals('application/x-mobipocket-ebook', $headers->get('content-type'));
|
$this->assertEquals('application/x-mobipocket-ebook', $headers->get('content-type'));
|
||||||
$this->assertEquals('attachment; filename="testtitleentry1.mobi"', $headers->get('content-disposition'));
|
$this->assertEquals('attachment; filename="'.preg_replace('/[^A-Za-z0-9\-]/', '', $content->getTitle()).'.mobi"', $headers->get('content-disposition'));
|
||||||
$this->assertEquals('binary', $headers->get('content-transfer-encoding'));
|
$this->assertEquals('binary', $headers->get('content-transfer-encoding'));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user