3.9 PHPUnit Setup
If your plugin uses PHPUnit, update its configuration to work with the TestApplication.
Open phpunit.xml.dist
and change the bootstrap path and kernel class:
<phpunit bootstrap="vendor/sylius/test-application/config/bootstrap.php">
<php>
<env name="KERNEL_CLASS" value="Sylius\TestApplication\Kernel" />
<env name="APP_ENV" value="test" />
</php>
</phpunit>
If your configuration still references the old tests/Application
path,
replace it with the new tests/TestApplication
location.
Last updated
Was this helpful?