diff --git a/tests/Visual/Success.php b/tests/Visual/Success.php index d327beb5..f8678973 100644 --- a/tests/Visual/Success.php +++ b/tests/Visual/Success.php @@ -24,4 +24,5 @@ test('visual snapshot of test suite on success', function () { array_pop($output); assertStringContainsString(implode("\n", $output), file_get_contents($snapshot)); } -})->skip(!getenv('REBUILD_SNAPSHOTS') && getenv('EXCLUDE')); +})->skip(!getenv('REBUILD_SNAPSHOTS') && getenv('EXCLUDE')) + ->skip(PHP_OS_FAMILY === 'Windows', 'File sorting algorithm causes different test order on Windows');