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)); } /**