Go to the documentation of this file.
2 declare(strict_types = 1);
66 'home page in EN' => [
67 'url' =>
'https://acme.com/en/hello',
69 'page/title' =>
'EN: Welcome',
72 'home page in DE-CH where page translation does not exist' => [
73 'url' =>
'https://acme.com/de-ch/hello',
75 'page/title' =>
'EN: Welcome',
78 'headquarter sub page in EN' => [
79 'url' =>
'https://acme.com/en/about-us/headquarter',
81 'page/title' =>
'EN: Headquarter',
84 'headquarter sub page in DE-CH where page translation does not exist' => [
85 'url' =>
'https://acme.com/de-ch/about-us/headquarter',
87 'page/title' =>
'EN: Headquarter',
111 'home page in DE where page translation does not exist and has no fallback configured' => [
112 'url' =>
'https://acme.com/de/hello',
113 'exception' => PageNotFoundException::class,
137 'url' =>
'https://acme.com/en/hello',
139 [
'title' =>
'EN: Welcome',
'link' =>
'/en/hello'],
140 [
'title' =>
'EN: About us',
'link' =>
'/en/about-us'],
144 'url' =>
'https://acme.com/de-ch/hello',
146 [
'title' =>
'EN: Welcome',
'link' =>
'/de-ch/hello'],
147 [
'title' =>
'DE-CH: Über uns',
'link' =>
'/de-ch/about-us'],
assertScopes(string $url, array $scopes)
array pageNotFoundDataProvider()
array resolvablePagesDataProvider()
assertException(string $url, string $exception)
array buildLanguageConfiguration(string $identifier, string $base, array $fallbackIdentifiers=[], string $fallbackType=null)
array menuDataProvider()
resolvedPagesMatchScopes(string $url, array $scopes)
writeSiteConfiguration(string $identifier, array $site=[], array $languages=[], array $errorHandling=[])
pageMenuIsRendered(string $url, array $expectedMenu)
array buildDefaultLanguageConfiguration(string $identifier, string $base)
assertMenu(string $url, array $expectation)
setUpDatabaseWithYamlPayload(string $pathToYamlFile)
array buildSiteConfiguration(int $rootPageId, string $base='')
requestsThrowException(string $url, string $exception)