From 25ec184d5edf7ccf029c7e75d57027572ab5de2b Mon Sep 17 00:00:00 2001 From: Pierre Rudloff Date: Mon, 1 Aug 2016 18:42:08 +0200 Subject: [PATCH] Fix buggy test --- tests/VideoDownloadTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/VideoDownloadTest.php b/tests/VideoDownloadTest.php index 4e642b3..c0ce2d7 100644 --- a/tests/VideoDownloadTest.php +++ b/tests/VideoDownloadTest.php @@ -225,7 +225,7 @@ class VideoDownloadTest extends \PHPUnit_Framework_TestCase { $stream = $this->download->getAudioStream($url, $format); $this->assertInternalType('resource', $stream); - $this->assertNotEmpty(fread($stream, 100)); + $this->assertFalse(feof($stream)); } /**