From d4e8e32cd6c2e70c47fbede2ccb80b704131647d Mon Sep 17 00:00:00 2001 From: Pierre Rudloff Date: Sun, 21 Apr 2019 19:28:58 +0200 Subject: [PATCH] test(phpunit): Disable testSetOptionsWithoutUpdate() on AppVeyor --- tests/ConfigTest.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/ConfigTest.php b/tests/ConfigTest.php index 13cf4c6..e8141c6 100644 --- a/tests/ConfigTest.php +++ b/tests/ConfigTest.php @@ -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');