mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 15:57:21 +01:00
chore: fixes snapshots
This commit is contained in:
@ -1095,7 +1095,6 @@
|
|||||||
|
|
||||||
WARN Tests\Features\SkipOnPhp
|
WARN Tests\Features\SkipOnPhp
|
||||||
✓ it can run on php version
|
✓ 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 run on specific php version
|
||||||
- it can skip on php versions depending on constraint → This test is skipped on PHP [>=7.4.0].
|
- 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
|
WARN Tests\Visual\Version
|
||||||
- visual snapshot of help command output
|
- 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)
|
||||||
@ -4,10 +4,6 @@ it('can run on php version')
|
|||||||
->skipOnPhp('<=7.4.0')
|
->skipOnPhp('<=7.4.0')
|
||||||
->assertTrue(true);
|
->assertTrue(true);
|
||||||
|
|
||||||
it('can skip on specific php version')
|
|
||||||
->skipOnPhp(PHP_VERSION)
|
|
||||||
->assertTrue(false);
|
|
||||||
|
|
||||||
it('can run on specific php version')
|
it('can run on specific php version')
|
||||||
->skipOnPhp('7.4.0')
|
->skipOnPhp('7.4.0')
|
||||||
->assertTrue(true);
|
->assertTrue(true);
|
||||||
|
|||||||
@ -16,7 +16,7 @@ $run = function () {
|
|||||||
|
|
||||||
test('parallel', function () use ($run) {
|
test('parallel', function () use ($run) {
|
||||||
expect($run('--exclude-group=integration'))
|
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');
|
->toContain('Parallel: 3 processes');
|
||||||
})->skipOnWindows();
|
})->skipOnWindows();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user