Skip to content

Commit

Permalink
Skip test on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
przemyslaw-bogusz committed Mar 5, 2020
1 parent 4cb6e25 commit cd61555
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Symfony/Component/Config/Tests/Util/XmlUtilsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ public function testLoadFile()
}

try {
if ('\\' === \DIRECTORY_SEPARATOR) {
$this->markTestSkipped('chmod is not supported on Windows');
}
chmod($fixtures.'test.xml', 000);
XmlUtils::loadFile($fixtures.'test.xml');
$this->fail();
Expand Down

0 comments on commit cd61555

Please sign in to comment.