Hi, Is there a way to set this up in vanilla PHP with PHPUnit? Thanks!
Activity
dmaicher commentedon Apr 28, 2025
You mean you are using Doctrine but without Symfony?
Might be possible to configure the middleware yourself then:
filisko commentedon Apr 28, 2025
yes, @dmaicher
what do you mean by "use the PHPUnit extension"?
dmaicher commentedon Apr 28, 2025
doctrine-test-bundle/src/DAMA/DoctrineTestBundle/PHPUnit/PHPUnitExtension.php
Line 25 in 1184678
https://docs.phpunit.de/en/10.5/extending-phpunit.html#extending-the-test-runner
filisko commentedon Apr 28, 2025
ok, nice, thanks!
filisko commentedon May 27, 2025
@dmaicher I also had to keep the static connections this way: