migrate to pest php for testing
All checks were successful
/ ls (pull_request) Successful in 1m33s

This commit is contained in:
lubiana 2025-02-01 00:09:50 +01:00
parent 2273c91f2b
commit af9354ff22
Signed by: lubiana
SSH key fingerprint: SHA256:vW1EA0fRR3Fw+dD/sM0K+x3Il2gSry6YRYHqOeQwrfk
20 changed files with 1687 additions and 570 deletions

View file

@ -8,4 +8,15 @@ use Symfony\Component\HttpKernel\Kernel as BaseKernel;
final class Kernel extends BaseKernel
{
use MicroKernelTrait;
public function __construct(
protected string $environment,
protected bool $debug,
) {
parent::__construct($environment, $debug);
if ($environment === 'test') {
$this->debug = false;
}
}
}