aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorJeremy Benoist <jeremy.benoist@gmail.com>2015-10-16 10:56:24 +0200
committerNicolas LÅ“uillet <nicolas.loeuillet@smile.fr>2015-11-09 16:32:48 +0100
commit33c36f6b482dd512a43b86c0e965bc09a67cf555 (patch)
treeaef07196a6e1dd684a784aa937929ae4fc6ea024 /src
parentadd597bad95b30dbecab3aecc8362a1ccd427976 (diff)
downloadwallabag-33c36f6b482dd512a43b86c0e965bc09a67cf555.tar.gz
wallabag-33c36f6b482dd512a43b86c0e965bc09a67cf555.tar.zst
wallabag-33c36f6b482dd512a43b86c0e965bc09a67cf555.zip
Fix tests on pgsql
Diffstat (limited to 'src')
-rw-r--r--src/Wallabag/CoreBundle/Tests/Controller/ExportControllerTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Wallabag/CoreBundle/Tests/Controller/ExportControllerTest.php b/src/Wallabag/CoreBundle/Tests/Controller/ExportControllerTest.php
index 19d5f01d..3f749aae 100644
--- a/src/Wallabag/CoreBundle/Tests/Controller/ExportControllerTest.php
+++ b/src/Wallabag/CoreBundle/Tests/Controller/ExportControllerTest.php
@@ -71,7 +71,7 @@ class ExportControllerTest extends WallabagCoreTestCase
71 71
72 $headers = $client->getResponse()->headers; 72 $headers = $client->getResponse()->headers;
73 $this->assertEquals('application/x-mobipocket-ebook', $headers->get('content-type')); 73 $this->assertEquals('application/x-mobipocket-ebook', $headers->get('content-type'));
74 $this->assertEquals('attachment; filename="testtitleentry1.mobi"', $headers->get('content-disposition')); 74 $this->assertEquals('attachment; filename="'.preg_replace('/[^A-Za-z0-9\-]/', '', $content->getTitle()).'.mobi"', $headers->get('content-disposition'));
75 $this->assertEquals('binary', $headers->get('content-transfer-encoding')); 75 $this->assertEquals('binary', $headers->get('content-transfer-encoding'));
76 } 76 }
77 77