From 53328587826de39aec69a9ff153c4a83091ba2b0 Mon Sep 17 00:00:00 2001 From: Nuno Maduro Date: Thu, 11 Jan 2024 15:46:50 +0000 Subject: [PATCH] chore: fixes snapshots --- tests/.snapshots/success.txt | 3 +-- tests/Features/SkipOnPhp.php | 4 ---- tests/Visual/Parallel.php | 2 +- 3 files changed, 2 insertions(+), 7 deletions(-) diff --git a/tests/.snapshots/success.txt b/tests/.snapshots/success.txt index 41a30e46..a544db30 100644 --- a/tests/.snapshots/success.txt +++ b/tests/.snapshots/success.txt @@ -1095,7 +1095,6 @@ WARN Tests\Features\SkipOnPhp ✓ it can run on php version - - it can skip on specific php version → This test is skipped on PHP [==8.3.1]. ✓ it can run on specific php version - it can skip on php versions depending on constraint → This test is skipped on PHP [>=7.4.0]. @@ -1378,4 +1377,4 @@ WARN Tests\Visual\Version - visual snapshot of help command output - Tests: 2 deprecated, 4 warnings, 5 incomplete, 2 notices, 13 todos, 21 skipped, 978 passed (2304 assertions) \ No newline at end of file + Tests: 2 deprecated, 4 warnings, 5 incomplete, 2 notices, 13 todos, 20 skipped, 978 passed (2304 assertions) \ No newline at end of file diff --git a/tests/Features/SkipOnPhp.php b/tests/Features/SkipOnPhp.php index ad528954..15687d9e 100644 --- a/tests/Features/SkipOnPhp.php +++ b/tests/Features/SkipOnPhp.php @@ -4,10 +4,6 @@ it('can run on php version') ->skipOnPhp('<=7.4.0') ->assertTrue(true); -it('can skip on specific php version') - ->skipOnPhp(PHP_VERSION) - ->assertTrue(false); - it('can run on specific php version') ->skipOnPhp('7.4.0') ->assertTrue(true); diff --git a/tests/Visual/Parallel.php b/tests/Visual/Parallel.php index 2b6b463c..dd0d6a1b 100644 --- a/tests/Visual/Parallel.php +++ b/tests/Visual/Parallel.php @@ -16,7 +16,7 @@ $run = function () { test('parallel', function () use ($run) { expect($run('--exclude-group=integration')) - ->toContain('Tests: 1 deprecated, 4 warnings, 5 incomplete, 2 notices, 13 todos, 17 skipped, 965 passed (2285 assertions)') + ->toContain('Tests: 1 deprecated, 4 warnings, 5 incomplete, 2 notices, 13 todos, 16 skipped, 965 passed (2285 assertions)') ->toContain('Parallel: 3 processes'); })->skipOnWindows();