mirror of
https://github.com/pestphp/pest.git
synced 2026-03-07 00:07:22 +01:00
tests: update snapshots
This commit is contained in:
@ -18,11 +18,11 @@
|
|||||||
],
|
],
|
||||||
"require": {
|
"require": {
|
||||||
"php": "^7.3 || ^8.0",
|
"php": "^7.3 || ^8.0",
|
||||||
"nunomaduro/collision": "^5.0.0-BETA4",
|
"nunomaduro/collision": "^5.0.0-BETA5",
|
||||||
"pestphp/pest-plugin": "^0.3",
|
"pestphp/pest-plugin": "^0.3",
|
||||||
"pestphp/pest-plugin-coverage": "^0.3",
|
"pestphp/pest-plugin-coverage": "^0.3",
|
||||||
"pestphp/pest-plugin-init": "^0.3",
|
"pestphp/pest-plugin-init": "^0.3",
|
||||||
"phpunit/phpunit": "9.3.2"
|
"phpunit/phpunit": "9.3.3"
|
||||||
},
|
},
|
||||||
"autoload": {
|
"autoload": {
|
||||||
"psr-4": {
|
"psr-4": {
|
||||||
|
|||||||
@ -337,5 +337,4 @@
|
|||||||
✓ depends with defined arguments
|
✓ depends with defined arguments
|
||||||
✓ depends run test only once
|
✓ depends run test only once
|
||||||
|
|
||||||
Tests: 6 skipped, 198 passed
|
Tests: 6 skipped, 198 passed
|
||||||
Time: 5.46s
|
|
||||||
@ -23,7 +23,7 @@ test('visual snapshot of test suite on success', function () {
|
|||||||
array_pop($output);
|
array_pop($output);
|
||||||
array_pop($output);
|
array_pop($output);
|
||||||
|
|
||||||
expect(file_get_contents($snapshot))->toContain(implode("\n", $output));
|
expect(implode("\n", $output))->toContain(file_get_contents($snapshot));
|
||||||
}
|
}
|
||||||
})->skip(!getenv('REBUILD_SNAPSHOTS') && getenv('EXCLUDE'))
|
})->skip(!getenv('REBUILD_SNAPSHOTS') && getenv('EXCLUDE'))
|
||||||
->skip(PHP_OS_FAMILY === 'Windows');
|
->skip(PHP_OS_FAMILY === 'Windows');
|
||||||
|
|||||||
Reference in New Issue
Block a user