« Previous | Next » 

Revision 3bb66040

ID3bb66040c0c55d7ae5ded62d7df0878d61fe6b58

Added by Bastian Waidelich about 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