Skip to content

Commit

Permalink
Fix: Skip test on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
dvdoug authored and localheinz committed Jun 29, 2020
1 parent 874639b commit b162354
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/unit/Framework/AssertTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -646,6 +646,10 @@ public function testAssertFileIsReadable(): void

public function testAssertFileIsNotReadable(): void
{
if (\PHP_OS_FAMILY === 'Windows') {
self::markTestSkipped('Cannot test this behaviour on Windows');
}

$tempFile = \tempnam(
\sys_get_temp_dir(),
'unreadable'
Expand Down

0 comments on commit b162354

Please sign in to comment.