New tests

This commit is contained in:
Pierre Rudloff 2016-07-30 00:47:46 +02:00
parent 26388ea1b4
commit e3cec201ee
4 changed files with 92 additions and 6 deletions

View file

@ -38,5 +38,11 @@ class ConfigTest extends \PHPUnit_Framework_TestCase
putenv('CONVERT=1');
$config = Config::getInstance();
$this->assertEquals($config->convert, true);
$this->assertInternalType('array', $config->curl_params);
$this->assertInternalType('array', $config->params);
$this->assertInternalType('string', $config->youtubedl);
$this->assertInternalType('string', $config->python);
$this->assertInternalType('string', $config->avconv);
$this->assertInternalType('string', $config->rtmpdump);
}
}