From f092e868471e04b53ac0ae79751c7c5332b33efe Mon Sep 17 00:00:00 2001 From: codemasher Date: Sat, 5 Jun 2021 21:18:06 +0200 Subject: [PATCH] :octocat: will this test now work on CI? --- tests/Output/QROutputTestAbstract.php | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/tests/Output/QROutputTestAbstract.php b/tests/Output/QROutputTestAbstract.php index c3937ae65..05dfed4e7 100644 --- a/tests/Output/QROutputTestAbstract.php +++ b/tests/Output/QROutputTestAbstract.php @@ -71,17 +71,14 @@ abstract class QROutputTestAbstract extends TestCase{ */ public function testSaveException():void{ - if(PHP_OS_FAMILY === 'Windows'){ - $this::markTestSkipped('why does this fail on CI??'); - - /** @noinspection PhpUnreachableStatementInspection */ - return; - } +# if(PHP_OS_FAMILY === 'Windows'){ +# $this::markTestSkipped('why does this fail on CI??'); +# } $this->expectException(QRCodeOutputException::class); - $this->expectExceptionMessage('Could not write data to cache file: /foo'); + $this->expectExceptionMessage('Could not write data to cache file: /foo.bar'); - $this->options->cachefile = '/foo'; + $this->options->cachefile = '/foo.bar'; $this->outputInterface = $this->getOutputInterface($this->options); $this->outputInterface->dump(); }