3.8 Behat Setup (if you use Behat)

If your plugin uses Behat, update the configuration to use the TestApplication bootstrap and kernel.

Open behat.yml.dist and replace the existing Symfony extension config with:

default:
  extensions:
    FriendsOfBehat\SymfonyExtension:
      bootstrap: vendor/sylius/test-application/config/bootstrap.php
      kernel:
        class: Sylius\TestApplication\Kernel

Also, if your Behat setup contains any paths pointing to the old tests/Application directory, update them to point to the new TestApplication structure.

Last updated

Was this helpful?