Skip to content

Commit

Permalink
Test arrayizability of samlp:RequesterID
Browse files Browse the repository at this point in the history
  • Loading branch information
tvdijen committed Apr 16, 2024
1 parent b1c3a69 commit 23b3e1d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/SAML2/XML/samlp/RequesterIDTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
use SimpleSAML\SAML2\XML\samlp\AbstractSamlpElement;
use SimpleSAML\SAML2\XML\samlp\RequesterID;
use SimpleSAML\XML\DOMDocumentFactory;
use SimpleSAML\XML\TestUtils\ArrayizableElementTestTrait;
use SimpleSAML\XML\TestUtils\SchemaValidationTestTrait;
use SimpleSAML\XML\TestUtils\SerializableElementTestTrait;

Expand All @@ -26,6 +27,7 @@
#[CoversClass(AbstractSamlpElement::class)]
final class RequesterIDTest extends TestCase
{
use ArrayizableElementTestTrait;
use SchemaValidationTestTrait;
use SerializableElementTestTrait;

Expand All @@ -40,6 +42,8 @@ public static function setUpBeforeClass(): void
self::$xmlRepresentation = DOMDocumentFactory::fromFile(
dirname(__FILE__, 4) . '/resources/xml/samlp_RequesterID.xml',
);

self::$arrayRepresentation = ['urn:some:requester'];
}


Expand Down

0 comments on commit 23b3e1d

Please sign in to comment.