Go to the documentation of this file.
2 declare(strict_types = 1);
65 'home page in EN' => [
66 'url' =>
'https://acme.com/en/hello',
68 'page/title' =>
'EN: Welcome',
71 'home page in DE where page translation exists' => [
72 'url' =>
'https://acme.com/de/willkommen',
74 'page/title' =>
'DE: Willkommen',
77 'home page in DE-CH where page translation does not exist' => [
78 'url' =>
'https://acme.com/de-ch/willkommen',
80 'page/title' =>
'DE: Willkommen',
105 'url' =>
'https://acme.com/en/hello',
107 [
'title' =>
'EN: Welcome',
'link' =>
'/en/hello'],
111 'url' =>
'https://acme.com/de/willkommen',
113 [
'title' =>
'DE: Willkommen',
'link' =>
'/de/willkommen'],
117 'url' =>
'https://acme.com/de-ch/willkommen',
119 [
'title' =>
'DE: Willkommen',
'link' =>
'/de-ch/willkommen'],
assertScopes(string $url, array $scopes)
array buildLanguageConfiguration(string $identifier, string $base, array $fallbackIdentifiers=[], string $fallbackType=null)
writeSiteConfiguration(string $identifier, array $site=[], array $languages=[], array $errorHandling=[])
resolvedPagesMatchScopes(string $url, array $scopes)
array resolvablePagesDataProvider()
array buildDefaultLanguageConfiguration(string $identifier, string $base)
pageMenuIsRendered(string $url, array $expectedMenu)
array menuDataProvider()
assertMenu(string $url, array $expectation)
setUpDatabaseWithYamlPayload(string $pathToYamlFile)
array buildSiteConfiguration(int $rootPageId, string $base='')