mirror of
https://github.com/wallabag/wallabag.git
synced 2025-01-19 02:20:09 +01:00
Fix tests on pgsql
This commit is contained in:
parent
add597bad9
commit
33c36f6b48
@ -71,7 +71,7 @@ class ExportControllerTest extends WallabagCoreTestCase
|
||||
|
||||
$headers = $client->getResponse()->headers;
|
||||
$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'));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user