Symfony legacy bridge functional test

We are migrating our current system to the Symfony framework, to do that we decided to use Legacy Bridge. We succeed with this task, but we are having trouble with the functional tests since the Symfony kernel does not recognize the legacy routes.
I wonder if anyone had this same issue and how did you solve it.

Functional test running

we moved the login and session to Symfony, but the remaining functionalities are still in the legacy code, so right now after the user login, we redirect him/her to the /start route which is a legacy route.

As requested, the error in text:

[error] Uncaught PHP Exception SymfonyComponentHttpKernelExceptionNotFoundHttpException: "No route found for "GET /start" (from "http://localhost/login")" at /code/vendor/symfony/http-kernel/EventListener/RouterListener.php line 136

Source: Symfony Questions

Was this helpful?

0 / 0

Leave a Reply 0

Your email address will not be published. Required fields are marked *