tests: update snapshots

This commit is contained in:
Nuno Maduro
2020-08-09 18:31:08 +01:00
parent d85432933c
commit d2db71bb78
3 changed files with 4 additions and 5 deletions

View File

@ -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": {

View File

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

View File

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