mirror of
https://github.com/chillerlan/php-qrcode.git
synced 2026-08-22 14:23:17 +00:00
:octocat: will this test now work on CI?
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user