Skip to content

Commit

Permalink
Skip symlink test on Windows
Browse files Browse the repository at this point in the history
Fixes #6449

Symlinks on Windows are rare (and quite unreliable)
  • Loading branch information
weirdan committed Feb 25, 2024
1 parent 6c10ad2 commit 57caade
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/Config/ConfigTest.php
Expand Up @@ -158,6 +158,9 @@ public function testIgnoreMissingProjectDirectory(): void
$this->assertFalse($config->isInProjectDirs(realpath('examples/TemplateScanner.php')));
}

/**
* @requires OS ^(?!WIN)
*/
public function testIgnoreSymlinkedProjectDirectory(): void
{
@unlink(dirname(__DIR__, 1) . '/fixtures/symlinktest/ignored/b');
Expand Down

0 comments on commit 57caade

Please sign in to comment.