Skip to content
Snippets Groups Projects
Commit f22aedff authored by Guy Halse's avatar Guy Halse
Browse files

Add a multi-lingual element to the test case

parent 3ac96f1a
No related branches found
No related tags found
No related merge requests found
...@@ -247,7 +247,7 @@ XML ...@@ -247,7 +247,7 @@ XML
'example.net', 'example.net',
], ],
'UIInfo' => [ 'UIInfo' => [
'DisplayName' => ['en' => 'DisplayName',], 'DisplayName' => ['en' => 'DisplayName', 'af' => 'VertoonNaam'],
'Description' => ['en' => 'Description',], 'Description' => ['en' => 'Description',],
'InformationURL' => ['en' => 'https://localhost/information',], 'InformationURL' => ['en' => 'https://localhost/information',],
'PrivacyStatementURL' => ['en' => 'https://localhost/privacypolicy',], 'PrivacyStatementURL' => ['en' => 'https://localhost/privacypolicy',],
...@@ -269,7 +269,7 @@ XML ...@@ -269,7 +269,7 @@ XML
'DomainHint' => ['example.net', 'example.org',], 'DomainHint' => ['example.net', 'example.org',],
'GeolocationHint' => ['geo:-29.00000,24.00000;u=830000',], 'GeolocationHint' => ['geo:-29.00000,24.00000;u=830000',],
], ],
'name' => ['en' => 'DisplayName',], 'name' => ['en' => 'DisplayName', 'af' => 'VertoonNaam'],
]; ];
$document = \SAML2\DOMDocumentFactory::fromString( $document = \SAML2\DOMDocumentFactory::fromString(
...@@ -282,6 +282,7 @@ XML ...@@ -282,6 +282,7 @@ XML
<shibmd:Scope regexp="false">example.net</shibmd:Scope> <shibmd:Scope regexp="false">example.net</shibmd:Scope>
<mdui:UIInfo> <mdui:UIInfo>
<mdui:DisplayName xml:lang="en">DisplayName</mdui:DisplayName> <mdui:DisplayName xml:lang="en">DisplayName</mdui:DisplayName>
<mdui:DisplayName xml:lang="af">VertoonNaam</mdui:DisplayName>
<mdui:Description xml:lang="en">Description</mdui:Description> <mdui:Description xml:lang="en">Description</mdui:Description>
<mdui:PrivacyStatementURL xml:lang="en">https://localhost/privacypolicy</mdui:PrivacyStatementURL> <mdui:PrivacyStatementURL xml:lang="en">https://localhost/privacypolicy</mdui:PrivacyStatementURL>
<mdui:InformationURL xml:lang="en">https://localhost/information</mdui:InformationURL> <mdui:InformationURL xml:lang="en">https://localhost/information</mdui:InformationURL>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment