v-wordpress-plugin-updater/.github/phpunit-bootstrap.php
nikolai@vontainment.com 46a8ce2a1b new file: .github/phpunit-bootstrap.php
modified:   .phpunit.result.cache	modified:   phpunit.xml
s	modified:   update-api/app/Core/Router.php
	modified:   update-api/storage/test.sqlite
2025-10-20 07:46:26 -04:00

11 lines
305 B
PHP

<?php
// PHPUnit bootstrap wrapper moved into .github directory to keep repo root clean.
$autoload = __DIR__ . '/../vendor/autoload.php';
if (file_exists($autoload)) {
require_once $autoload;
}
$local = __DIR__ . '/../tests/bootstrap-local.php';
if (file_exists($local)) {
require_once $local;
}