summaryrefslogtreecommitdiffstats
path: root/vendor/fguillot/picofeed/tests/Client/StreamTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/fguillot/picofeed/tests/Client/StreamTest.php')
-rw-r--r--vendor/fguillot/picofeed/tests/Client/StreamTest.php25
1 files changed, 12 insertions, 13 deletions
diff --git a/vendor/fguillot/picofeed/tests/Client/StreamTest.php b/vendor/fguillot/picofeed/tests/Client/StreamTest.php
index 83a5a20fb..314d488c3 100644
--- a/vendor/fguillot/picofeed/tests/Client/StreamTest.php
+++ b/vendor/fguillot/picofeed/tests/Client/StreamTest.php
@@ -27,19 +27,18 @@ class StreamTest extends PHPUnit_Framework_TestCase
$this->assertEquals('</html>', substr(trim($result['body']), -7));
}
-// // disabled due to https://github.com/sebastianbergmann/phpunit/issues/1452
-// /**
-// * @runInSeparateProcess
-// */
-// public function testPassthrough()
-// {
-// $client = new Stream;
-// $client->setUrl('http://miniflux.net/favicon.ico');
-// $client->enablePassthroughMode();
-// $client->doRequest();
-//
-// $this->expectOutputString('no_to_be_defined');
-// }
+ /**
+ * @runInSeparateProcess
+ */
+ public function testPassthrough()
+ {
+ $client = new Stream;
+ $client->setUrl('http://miniflux.net/favicon.ico');
+ $client->enablePassthroughMode();
+ $client->doRequest();
+
+ $this->expectOutputString(file_get_contents('tests/fixtures/miniflux_favicon.ico'));
+ }
public function testRedirect()
{