Bug #38435
Reset the router for each functional test
Status:
Resolved
Priority:
Must have
Assignee:
Category:
- Testing -
Target version:
Start date:
2012-06-27
Due date:
% Done:
100%
Estimated time:
PHP Version:
Has patch:
No
Complexity:
no-brainer
Description
Currently all functional tests share the same instance of \TYPO3\FLOW3\Mvc\Routing\Router
because the InternalRequestEngine is of scope singleton.
This leads to unexpected results and failing tests if tests add custom routes.
The router instance should be reset for each test case.