test(phpunit): Disable testSetOptionsWithoutUpdate() on AppVeyor

This commit is contained in:
Pierre Rudloff 2019-04-21 19:28:58 +02:00
parent 28b99861c2
commit d4e8e32cd6

View file

@ -100,6 +100,12 @@ class ConfigTest extends BaseTest
*/
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 = Config::getInstance();
$this->assertEquals($config->appName, 'foo');