New tests
This commit is contained in:
parent
26388ea1b4
commit
e3cec201ee
4 changed files with 92 additions and 6 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue