Oops fiz failure to read in epub, a=chris
Oops fiz failure to read in epub, a=chris
diff --git a/tests/epub_processor_test.php b/tests/epub_processor_test.php
index 133ccab3d..6bc89f380 100644
--- a/tests/epub_processor_test.php
+++ b/tests/epub_processor_test.php
@@ -74,7 +74,8 @@ class EpubProcessorTest extends UnitTest implements CrawlConstants
{
$epub_object = new EpubProcessor;
$url = "http://www.yioop.com/TestEpubYioop.epub";
- $filename= BASE_DIR."/tests/test_files/TestEpubYioop.epub";
+ $filename = BASE_DIR."/tests/test_files/TestEpubYioop.epub";
+ $page = file_get_contents($filename);
$summary = $epub_object->process($page,$url);
$this->test_objects['summary'] = $summary;
$this->testEpubTitleTestCase();