‪TYPO3CMS  ‪main
TYPO3\CMS\Redirects\Tests\Functional\Service\IntegrityServiceTest Class Reference
Inheritance diagram for TYPO3\CMS\Redirects\Tests\Functional\Service\IntegrityServiceTest:

Public Member Functions

 sourcePathWithMatchingSlugInLocalizedPageIsNotReportedAsConflict ()
 
 conflictingRedirectsAreFoundForDefinedSiteOnly ()
 
 conflictingRedirectsAreFoundForLocalizedPages ()
 
 conflictingRedirectsAreFoundForAllSites ()
 

Protected Member Functions

 setUp ()
 

Protected Attributes

bool $resetSingletonInstances = true
 
array $coreExtensionsToLoad = ['redirects']
 
IntegrityService $subject
 

Private Member Functions

 assertExpectedPathsFromGenerator (array $expectedConflicts, \Generator $generator)
 
 getSiteFinderMock ()
 

Detailed Description

Definition at line 32 of file IntegrityServiceTest.php.

Member Function Documentation

◆ assertExpectedPathsFromGenerator()

◆ conflictingRedirectsAreFoundForAllSites()

TYPO3\CMS\Redirects\Tests\Functional\Service\IntegrityServiceTest::conflictingRedirectsAreFoundForAllSites ( )

◆ conflictingRedirectsAreFoundForDefinedSiteOnly()

TYPO3\CMS\Redirects\Tests\Functional\Service\IntegrityServiceTest::conflictingRedirectsAreFoundForDefinedSiteOnly ( )

◆ conflictingRedirectsAreFoundForLocalizedPages()

TYPO3\CMS\Redirects\Tests\Functional\Service\IntegrityServiceTest::conflictingRedirectsAreFoundForLocalizedPages ( )

◆ getSiteFinderMock()

TYPO3\CMS\Redirects\Tests\Functional\Service\IntegrityServiceTest::getSiteFinderMock ( )
private

◆ setUp()

TYPO3\CMS\Redirects\Tests\Functional\Service\IntegrityServiceTest::setUp ( )
protected

◆ sourcePathWithMatchingSlugInLocalizedPageIsNotReportedAsConflict()

TYPO3\CMS\Redirects\Tests\Functional\Service\IntegrityServiceTest::sourcePathWithMatchingSlugInLocalizedPageIsNotReportedAsConflict ( )

This is a regression test for forge issue #95650: Source slug matches page slug of translated page WITHOUT language component (e.g. /en, /de etc.).

The integrity service should NOT detect this as a conflict.

Test:

Definition at line 62 of file IntegrityServiceTest.php.

References TYPO3\CMS\Redirects\Tests\Functional\Service\IntegrityServiceTest\assertExpectedPathsFromGenerator().

Member Data Documentation

◆ $coreExtensionsToLoad

array TYPO3\CMS\Redirects\Tests\Functional\Service\IntegrityServiceTest::$coreExtensionsToLoad = ['redirects']
protected

Definition at line 35 of file IntegrityServiceTest.php.

◆ $resetSingletonInstances

bool TYPO3\CMS\Redirects\Tests\Functional\Service\IntegrityServiceTest::$resetSingletonInstances = true
protected

Definition at line 34 of file IntegrityServiceTest.php.

◆ $subject

IntegrityService TYPO3\CMS\Redirects\Tests\Functional\Service\IntegrityServiceTest::$subject
protected

Definition at line 36 of file IntegrityServiceTest.php.