diff --git a/tests/lib/SimpleSAML/Metadata/test-metadata/source1/saml20-sp-remote.php b/tests/lib/SimpleSAML/Metadata/test-metadata/source1/saml20-sp-remote.php index 379d1e45c8e344e4b9e29cb515889f71f9056e90..e6de7efd5f1d7afb0da9cd71d3d155675d8a3c29 100644 --- a/tests/lib/SimpleSAML/Metadata/test-metadata/source1/saml20-sp-remote.php +++ b/tests/lib/SimpleSAML/Metadata/test-metadata/source1/saml20-sp-remote.php @@ -1,60 +1,60 @@ <?php -$metadata['entityA'] = array( +$metadata['entityA'] = [ 'entityid' => 'entityA', 'name' => - array( + [ 'en' => 'entityA SP from source1', - ), + ], 'metadata-set' => 'saml20-sp-remote', 'AssertionConsumerService' => - array( + [ 0 => - array( + [ 'Binding' => 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST', 'Location' => 'https://entityA.example.org/Shibboleth.sso/SAML2/POST', 'index' => 1, 'isDefault' => true, - ), - ) -); + ], + ] +]; -$metadata['entityInBoth'] = array( +$metadata['entityInBoth'] = [ 'entityid' => 'entityInBoth', 'name' => - array( + [ 'en' => 'entityInBoth SP from source1', - ), + ], 'metadata-set' => 'saml20-sp-remote', 'AssertionConsumerService' => - array( + [ 0 => - array( + [ 'Binding' => 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST', 'Location' => 'https://entityInBoth.example.org/Shibboleth.sso/SAML2/POST', 'index' => 1, 'isDefault' => true, - ), - ) -); + ], + ] +]; -$metadata['expiredInSrc1InSrc2'] = array( +$metadata['expiredInSrc1InSrc2'] = [ 'entityid' => 'expiredInSrc1InSrc2', // This entity is expired in src1 but unexpired in src2 'expire' => 1, 'name' => - array( + [ 'en' => 'expiredInSrc1InSrc2 SP from source1', - ), + ], 'metadata-set' => 'saml20-sp-remote', 'AssertionConsumerService' => - array( + [ 0 => - array( + [ 'Binding' => 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST', 'Location' => 'https://expiredInSrc1InSrc2.example.org/Shibboleth.sso/SAML2/POST', 'index' => 1, 'isDefault' => true, - ), - ) -); \ No newline at end of file + ], + ] +];