Fix buggy test

This commit is contained in:
Pierre Rudloff 2016-08-01 18:42:08 +02:00
parent 954c0e0f19
commit 25ec184d5e

View file

@ -225,7 +225,7 @@ class VideoDownloadTest extends \PHPUnit_Framework_TestCase
{ {
$stream = $this->download->getAudioStream($url, $format); $stream = $this->download->getAudioStream($url, $format);
$this->assertInternalType('resource', $stream); $this->assertInternalType('resource', $stream);
$this->assertNotEmpty(fread($stream, 100)); $this->assertFalse(feof($stream));
} }
/** /**