From d2db71bb7879ae0a32d52d88cd7456119732b495 Mon Sep 17 00:00:00 2001 From: Nuno Maduro Date: Sun, 9 Aug 2020 18:31:08 +0100 Subject: [PATCH] tests: update snapshots --- composer.json | 4 ++-- tests/.snapshots/success.txt | 3 +-- tests/Visual/Success.php | 2 +- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/composer.json b/composer.json index 9907d7e4..e292481c 100644 --- a/composer.json +++ b/composer.json @@ -18,11 +18,11 @@ ], "require": { "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-coverage": "^0.3", "pestphp/pest-plugin-init": "^0.3", - "phpunit/phpunit": "9.3.2" + "phpunit/phpunit": "9.3.3" }, "autoload": { "psr-4": { diff --git a/tests/.snapshots/success.txt b/tests/.snapshots/success.txt index 8334095a..500f7a52 100644 --- a/tests/.snapshots/success.txt +++ b/tests/.snapshots/success.txt @@ -337,5 +337,4 @@ ✓ depends with defined arguments ✓ depends run test only once - Tests: 6 skipped, 198 passed - Time: 5.46s + Tests: 6 skipped, 198 passed \ No newline at end of file diff --git a/tests/Visual/Success.php b/tests/Visual/Success.php index 14af013e..609f5b19 100644 --- a/tests/Visual/Success.php +++ b/tests/Visual/Success.php @@ -23,7 +23,7 @@ test('visual snapshot of test suite on success', function () { 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(PHP_OS_FAMILY === 'Windows');