Alltube\Test\VideoDownloadTest::testGetAudioStreamCurlError PHP Méthode

testGetAudioStreamCurlError() public méthode

Test getAudioStream function without curl or rtmpdump.
public testGetAudioStreamCurlError ( string $url, string $format ) : void
$url string URL
$format string Format
Résultat void
    public function testGetAudioStreamCurlError($url, $format)
    {
        $config = \Alltube\Config::getInstance();
        $config->curl = 'foobar';
        $config->rtmpdump = 'foobar';
        $this->download->getAudioStream($url, $format);
    }