« Previous | Next » 

Revision 3bb66040


Added by Bastian Waidelich over 9 years ago

[BUGFIX] Reset the router for each functional test

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.

This change fixes this by reinitializing the request engine for
each test case that has testableHttpEnabled set to TRUE.

Change-Id: I5a5bf17d00c5be05748a18122dae42989f429221
Fixes: #38435
Releases: 1.1, 1.2

  • added
  • modified
  • copied
  • renamed
  • deleted