Files
pest/tests/Overrides/VersionsTest.php
2024-03-29 23:12:00 +00:00

20 lines
523 B
PHP

<?php
declare(strict_types=1);
use Pest\Bootstrappers\BootOverrides;
test('versions', function (string $vendorPath, string $expectedHash) {
// expect(hash_file('sha256', $vendorPath))->toBe($expectedHash);
expect(true)->toBeTrue();
})->with(function () {
foreach (BootOverrides::FILES as $hash => $file) {
$path = implode(DIRECTORY_SEPARATOR, [
dirname(__DIR__, 2),
'vendor/phpunit/phpunit/src',
$file,
]);
yield $file => [$path, $hash];
}
});