[TASK] Adjust LinkGeneratorTest for non-site scenario 40/58140/6
authorOliver Hader <oliver@typo3.org>
Mon, 3 Sep 2018 10:34:20 +0000 (12:34 +0200)
committerBenni Mack <benni@typo3.org>
Mon, 3 Sep 2018 15:51:19 +0000 (17:51 +0200)
commit429db28fa890e6cd67cfb54663daa951bf3bb622
tree8934a1f377e2ae6ce0c08075fc968e611086ff45
parent6b4ed22bc4c076b5e0c67b2bd3259707ea885081
[TASK] Adjust LinkGeneratorTest for non-site scenario

When using a Site according "slug" values have to be given in order to
have complete routing information. There won't be pages in sites that
explicitly have empty slugs.

Test cases for sites having slugs are available in
SlugLinkGeneratorTest.  In order to test legacy behavior without having
sites and slugs, the scenario of LinkGeneratorTest has been adjusted
accordingly.

Resolves: #86104
Releases: master
Change-Id: Iea57e62311fc663df772c12530a0c4d4c84aee0f
Reviewed-on: https://review.typo3.org/58140
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
typo3/sysext/core/Classes/Routing/SiteMatcher.php
typo3/sysext/frontend/Classes/ContentObject/Menu/AbstractMenuContentObject.php
typo3/sysext/frontend/Classes/DataProcessing/LanguageMenuProcessor.php
typo3/sysext/frontend/Tests/Functional/SiteHandling/Fixtures/SlugScenario.yaml
typo3/sysext/frontend/Tests/Functional/SiteHandling/LinkGeneratorTest.php
typo3/sysext/frontend/Tests/Functional/SiteHandling/SlugSiteRequestTest.php