Skip to content

Commit e7e09f6

Browse files
committed
Move element registry
1 parent 9538d49 commit e7e09f6

File tree

5 files changed

+8
-5
lines changed

5 files changed

+8
-5
lines changed

composer.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,16 @@
3131
"psr/http-message": "~2.0",
3232
"psr/log": "~2.3.1 || ~3.0.0",
3333
"simplesamlphp/assert": "~1.8.1",
34-
"simplesamlphp/xml-common": "~1.24.2",
35-
"simplesamlphp/xml-security": "~1.13.0",
34+
"simplesamlphp/xml-common": "~1.25.0",
35+
"simplesamlphp/xml-security": "~1.13.4",
3636
"simplesamlphp/xml-soap": "~1.7.0"
3737
},
3838
"require-dev": {
3939
"ext-intl": "*",
4040

4141
"beste/clock": "~3.0.0",
4242
"mockery/mockery": "~1.6.12",
43+
"simplesamlphp/composer-xmlprovider-installer": "~1.0.2",
4344
"simplesamlphp/simplesamlphp-test-framework": "~1.9.2"
4445
},
4546
"suggest": {

tests/SAML2/XML/ElementRegistryTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ final class ElementRegistryTest extends TestCase
2323
*/
2424
public function testElementRegistry(): void
2525
{
26-
$elementRegistry = dirname(__FILE__, 4) . '/src/XML/element.registry.php';
26+
$elementRegistry = dirname(__FILE__, 4) . '/classes/element.registry.php';
2727
$namespaces = include($elementRegistry);
2828

2929
foreach ($namespaces as $namespaceURI => $elements) {

tests/SAML2/XML/md/SPSSODescriptorTest.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,9 @@ public function testUnmarshallingTwoDefaultACS(): void
286286
$acs->item(1)->setAttribute('isDefault', 'true');
287287

288288
$this->expectException(AssertionFailedException::class);
289-
$this->expectExceptionMessage('Only one md:AttributeConsumingService can be set as default.');
289+
$this->expectExceptionMessage(
290+
'At most one <AttributeConsumingService> element can have the attribute isDefault set to true.'
291+
);
290292

291293
SPSSODescriptor::fromXML($xmlRepresentation->documentElement);
292294
}

tests/autoload.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@
1919
ContainerSingleton::setContainer($container);
2020

2121
$registry = ElementRegistry::getInstance();
22-
$registry->importFromFile(dirname(__FILE__, 2) . '/src/XML/element.registry.php');
22+
$registry->importFromFile(dirname(__FILE__, 2) . '/classes/element.registry.php');

0 commit comments

Comments
 (0)