We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 84fa64e commit 61973ecCopy full SHA for 61973ec
Tests/ParserTest.php
@@ -2099,6 +2099,10 @@ public function testParsingNotReadableFilesThrowsException()
2099
$this->markTestSkipped('chmod is not supported on Windows');
2100
}
2101
2102
+ if (!getenv('USER') || 'root' === getenv('USER')) {
2103
+ $this->markTestSkipped('This test will fail if run under superuser');
2104
+ }
2105
+
2106
$file = __DIR__.'/Fixtures/not_readable.yml';
2107
chmod($file, 0200);
2108
0 commit comments