chore: fixes snapshots

This commit is contained in:
Nuno Maduro
2024-01-11 15:46:50 +00:00
parent 3457841a9b
commit 5332858782
3 changed files with 2 additions and 7 deletions

View File

@ -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)
Tests: 2 deprecated, 4 warnings, 5 incomplete, 2 notices, 13 todos, 20 skipped, 978 passed (2304 assertions)

View File

@ -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);

View File

@ -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();