From ffa3f1d6836e586d7fbd8be3a92d7cc3f0f54cdc Mon Sep 17 00:00:00 2001 From: Dimitrios Karvounaris Date: Fri, 5 Jun 2020 18:26:52 +0200 Subject: [PATCH] Skip visual snapshot test on Windows --- tests/Visual/Success.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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');