summaryrefslogtreecommitdiffstats
path: root/vendor/fguillot/picofeed/tests/Client/ClientTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/fguillot/picofeed/tests/Client/ClientTest.php')
-rw-r--r--vendor/fguillot/picofeed/tests/Client/ClientTest.php25
1 files changed, 12 insertions, 13 deletions
diff --git a/vendor/fguillot/picofeed/tests/Client/ClientTest.php b/vendor/fguillot/picofeed/tests/Client/ClientTest.php
index 8eaa34690..79592811b 100644
--- a/vendor/fguillot/picofeed/tests/Client/ClientTest.php
+++ b/vendor/fguillot/picofeed/tests/Client/ClientTest.php
@@ -18,19 +18,18 @@ class ClientTest extends PHPUnit_Framework_TestCase
$this->assertNotEmpty($client->getLastModified());
}
-// // disabled due to https://github.com/sebastianbergmann/phpunit/issues/1452
-// /**
-// * @runInSeparateProcess
-// */
-// public function testPassthrough()
-// {
-// $client = Client::getInstance();
-// $client->setUrl('http://miniflux.net/favicon.ico');
-// $client->enablePassthroughMode();
-// $client->execute();
-//
-// $this->expectOutputString('no_to_be_defined');
-// }
+ /**
+ * @runInSeparateProcess
+ */
+ public function testPassthrough()
+ {
+ $client = Client::getInstance();
+ $client->setUrl('http://miniflux.net/favicon.ico');
+ $client->enablePassthroughMode();
+ $client->execute();
+
+ $this->expectOutputString(file_get_contents('tests/fixtures/miniflux_favicon.ico'));
+ }
public function testCacheBothHaveToMatch()
{