Closed wouterj closed 9 years ago
@WouterJ just adjust the composer.json to use the relevant branch on the testing component to make the test pass here and prefix the PR with [WIP]
.. then we can see that the tests are passing.
:+1:
Ready to merge
:+1:
Let's fix https://github.com/symfony-cmf/RoutingBundle/issues/290
Prepending isn't the solution here, as it means we override the default value (so enabling CmfRoutingBundle + CmfSimpleCmsBundle means only
/cms/simple
is configured asroute_basepath
instead of both/cms/simple
and/cms/routes
). Using a compiler pass, we can just append it to the route basepaths, exactly what we expect to happen.Besides that, this PR now relies on the initializers to set up things correctly for the tests. As this was broken before, https://github.com/symfony-cmf/Testing/pull/114 should be merged to make these tests pass.
/cc @dbu