diff --git a/src/SAML11/XML/saml/AbstractActionType.php b/src/SAML11/XML/saml/AbstractActionType.php index 3e4a19f..0b55cc2 100644 --- a/src/SAML11/XML/saml/AbstractActionType.php +++ b/src/SAML11/XML/saml/AbstractActionType.php @@ -11,7 +11,7 @@ use SimpleSAML\XML\StringElementTrait; /** - * SAML AttributeType abstract data type. + * SAML ActionType abstract data type. * * @package simplesamlphp/simplesamlphp-module-adfs */ diff --git a/src/SAML11/XML/saml/Audience.php b/src/SAML11/XML/saml/Audience.php new file mode 100644 index 0000000..6720505 --- /dev/null +++ b/src/SAML11/XML/saml/Audience.php @@ -0,0 +1,30 @@ +setContent($value); + } +} diff --git a/tests/resources/xml/saml_Audience.xml b/tests/resources/xml/saml_Audience.xml new file mode 100644 index 0000000..96193b5 --- /dev/null +++ b/tests/resources/xml/saml_Audience.xml @@ -0,0 +1 @@ +urn:x-simplesamlphp:audience diff --git a/tests/src/SAML11/XML/saml/AudienceTest.php b/tests/src/SAML11/XML/saml/AudienceTest.php new file mode 100644 index 0000000..d3d7d3d --- /dev/null +++ b/tests/src/SAML11/XML/saml/AudienceTest.php @@ -0,0 +1,60 @@ +assertEquals( + self::$xmlRepresentation->saveXML(self::$xmlRepresentation->documentElement), + strval($audience), + ); + } +}