mirror of
https://github.com/wallabag/wallabag.git
synced 2025-04-23 18:34:06 +00:00
Fix tests on pgsql
This commit is contained in:
parent
add597bad9
commit
33c36f6b48
1 changed files with 1 additions and 1 deletions
|
@ -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'));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue