1 Composer & Paths
Require the TestApplication
composer require --dev sylius/test-application:^1.14.0@alphaSet the public dir
composer config extra.public-dir vendor/sylius/test-application/publicUpdate autoload-dev
{ "autoload-dev": { "psr-4": { "Tests\\YourPlugin\\": "tests/TestApplication/src/" } } }
Then run:
composer dump-autoloadOptional
Check that symfony/flex and symfony/runtime are allowed (needed by TestApplication):
composer config allow-plugins.symfony/flex true composer config allow-plugins.symfony/runtime true
Last updated
Was this helpful?
