11 Templates
If your plugin uses custom Twig templates or overrides templates from other bundles, you need to adjust their location for the new TestApplication structure.
1. Move templates
Any custom Twig templates previously located in:
tests/Application/templates/or overrides of bundle templates should now be moved to:
tests/TestApplication/templates/Keep the same folder structure inside
templates/to maintain namespace and path consistency.
2. Remove unnecessary overrides
Overrides of
_scripts.html.twigor_styles.html.twigfor:SyliusAdminBundleSyliusShopBundle
are no longer necessary in the new TestApplication structure.
You can safely remove them unless your plugin adds truly custom scripts or styles that are not already included elsewhere.
Note:
entrypoint.jsfiles inassets/adminandassets/shopare already included automatically, so you typically do not need to override_scriptsor_styles.
Last updated
Was this helpful?
