From 49c1867433f3a69ce9b65c341e32abd5b859c2cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Lucas?= Date: Sat, 11 Jan 2014 20:52:10 +0100 Subject: [PATCH] Fix error --- test/bookTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/bookTest.php b/test/bookTest.php index fd163a9..62108de 100644 --- a/test/bookTest.php +++ b/test/bookTest.php @@ -265,7 +265,7 @@ class BookTest extends PHPUnit_Framework_TestCase $_SERVER["HTTP_USER_AGENT"] = "Kobo"; $this->assertEquals ("download/20/Carroll%2C+Lewis+-+Alice%27s+Adventures+in+Wonderland.kepub.epub", $epub->getHtmlLink ()); $_SERVER["HTTP_USER_AGENT"] = "Firefox"; - $this->assertEquals ("download/20/Alice%27s+Adventures+in+Wonderland+-+Lewis+Carroll.epub", $data->getHtmlLink ()); + $this->assertEquals ("download/20/Alice%27s+Adventures+in+Wonderland+-+Lewis+Carroll.epub", $epub->getHtmlLink ()); $config['cops_use_url_rewriting'] = "0"; $this->assertEquals ("fetch.php?data=20&type=epub&id=17", $epub->getHtmlLink ()); }