:octocat: will this test now work on CI?

This commit is contained in:
codemasher
2021-06-05 21:18:06 +02:00
parent 72a8fd6adc
commit f092e86847
+5 -8
View File
@@ -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();
}