« Previous | Next » 

Revision fe1e420c

IDfe1e420c73c06d19d3ebef13872237db652ff3e7

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