test(phpunit): Disable testSetOptionsWithoutUpdate() on AppVeyor
This commit is contained in:
parent
28b99861c2
commit
d4e8e32cd6
1 changed files with 6 additions and 0 deletions
|
@ -100,6 +100,12 @@ class ConfigTest extends BaseTest
|
||||||
*/
|
*/
|
||||||
public function testSetOptionsWithoutUpdate()
|
public function testSetOptionsWithoutUpdate()
|
||||||
{
|
{
|
||||||
|
if (getenv('APPVEYOR')) {
|
||||||
|
$this->markTestSkipped(
|
||||||
|
"This will fail on AppVeyor because it won't be able to find youtube-dl at the defaut path."
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
Config::setOptions(['appName' => 'foo'], false);
|
Config::setOptions(['appName' => 'foo'], false);
|
||||||
$config = Config::getInstance();
|
$config = Config::getInstance();
|
||||||
$this->assertEquals($config->appName, 'foo');
|
$this->assertEquals($config->appName, 'foo');
|
||||||
|
|
Loading…
Reference in a new issue