From f313caa2fea35c68f0b8ac282be514055e18d59c Mon Sep 17 00:00:00 2001 From: Tim van Dijen Date: Thu, 2 Jan 2025 22:05:32 +0100 Subject: [PATCH] Cleanup: some missed parts for schema validation --- tests/SAML2/XML/saml/AdviceTest.php | 2 -- tests/SAML2/XML/saml/AssertionIDRefTest.php | 2 -- tests/SAML2/XML/saml/AssertionTest.php | 2 -- tests/SAML2/XML/saml/AssertionURIRefTest.php | 2 -- tests/SAML2/XML/saml/AttributeStatementTest.php | 2 -- tests/SAML2/XML/saml/AttributeTest.php | 2 -- tests/SAML2/XML/saml/AttributeValueTest.php | 2 -- tests/SAML2/XML/saml/AudienceRestrictionTest.php | 2 -- tests/SAML2/XML/saml/AudienceTest.php | 2 -- tests/SAML2/XML/saml/AuthenticatingAuthorityTest.php | 2 -- tests/SAML2/XML/saml/AuthnContextClassRefTest.php | 2 -- tests/SAML2/XML/saml/AuthnContextDeclRefTest.php | 2 -- tests/SAML2/XML/saml/AuthnContextDeclTest.php | 2 -- tests/SAML2/XML/saml/AuthnContextWithClassRefAndDeclRefTest.php | 2 -- tests/SAML2/XML/saml/AuthnContextWithClassRefAndDeclTest.php | 2 -- tests/SAML2/XML/saml/AuthnContextWithClassRefTest.php | 2 -- tests/SAML2/XML/saml/AuthnContextWithDeclRefTest.php | 2 -- tests/SAML2/XML/saml/AuthnContextWithDeclTest.php | 2 -- tests/SAML2/XML/saml/AuthnStatementTest.php | 2 -- tests/SAML2/XML/saml/AuthzDecisionStatementTest.php | 2 -- tests/SAML2/XML/saml/ConditionsTest.php | 2 -- tests/SAML2/XML/saml/EncryptedAssertionTest.php | 2 -- tests/SAML2/XML/saml/EncryptedAttributeTest.php | 2 -- tests/SAML2/XML/saml/EncryptedIDTest.php | 2 -- tests/SAML2/XML/saml/EvidenceTest.php | 2 -- tests/SAML2/XML/saml/IssuerTest.php | 2 -- tests/SAML2/XML/saml/NameIDTest.php | 2 -- tests/SAML2/XML/saml/OneTimeUseTest.php | 2 -- tests/SAML2/XML/saml/ProxyRestrictionTest.php | 2 -- tests/SAML2/XML/saml/SubjectConfirmationDataTest.php | 2 -- tests/SAML2/XML/saml/SubjectConfirmationTest.php | 2 -- tests/SAML2/XML/saml/SubjectLocalityTest.php | 2 -- tests/SAML2/XML/saml/SubjectTest.php | 2 -- tests/SAML2/XML/samlp/ArtifactResolveTest.php | 2 -- tests/SAML2/XML/samlp/ArtifactResponseTest.php | 2 -- tests/SAML2/XML/samlp/ArtifactTest.php | 2 -- tests/SAML2/XML/samlp/AssertionIDRequestTest.php | 2 -- tests/SAML2/XML/samlp/AttributeQueryTest.php | 2 -- tests/SAML2/XML/samlp/AuthnQueryTest.php | 2 -- tests/SAML2/XML/samlp/AuthnRequestTest.php | 2 -- tests/SAML2/XML/samlp/AuthzDecisionQueryTest.php | 2 -- tests/SAML2/XML/samlp/ExtensionsTest.php | 2 -- tests/SAML2/XML/samlp/GetCompleteTest.php | 2 -- tests/SAML2/XML/samlp/IDPEntryTest.php | 2 -- tests/SAML2/XML/samlp/IDPListTest.php | 2 -- tests/SAML2/XML/samlp/LogoutRequestTest.php | 2 -- tests/SAML2/XML/samlp/LogoutResponseTest.php | 2 -- tests/SAML2/XML/samlp/NameIDPolicyTest.php | 2 -- tests/SAML2/XML/samlp/RequestedAuthnContextTest.php | 2 -- tests/SAML2/XML/samlp/RequesterIDTest.php | 2 -- tests/SAML2/XML/samlp/ResponseTest.php | 2 -- tests/SAML2/XML/samlp/ScopingTest.php | 2 -- tests/SAML2/XML/samlp/SessionIndexTest.php | 2 -- tests/SAML2/XML/samlp/StatusCodeTest.php | 2 -- tests/SAML2/XML/samlp/StatusDetailTest.php | 2 -- tests/SAML2/XML/samlp/StatusMessageTest.php | 2 -- tests/SAML2/XML/samlp/StatusTest.php | 2 -- 57 files changed, 114 deletions(-) diff --git a/tests/SAML2/XML/saml/AdviceTest.php b/tests/SAML2/XML/saml/AdviceTest.php index 432d33049..d1421c4ff 100644 --- a/tests/SAML2/XML/saml/AdviceTest.php +++ b/tests/SAML2/XML/saml/AdviceTest.php @@ -52,8 +52,6 @@ final class AdviceTest extends TestCase */ public static function setUpBeforeClass(): void { - self::$schemaFile = dirname(__FILE__, 5) . '/resources/schemas/saml-schema-assertion-2.0.xsd'; - self::$testedClass = Advice::class; self::$xmlRepresentation = DOMDocumentFactory::fromFile( diff --git a/tests/SAML2/XML/saml/AssertionIDRefTest.php b/tests/SAML2/XML/saml/AssertionIDRefTest.php index 190a994e7..916a6c4b7 100644 --- a/tests/SAML2/XML/saml/AssertionIDRefTest.php +++ b/tests/SAML2/XML/saml/AssertionIDRefTest.php @@ -33,8 +33,6 @@ final class AssertionIDRefTest extends TestCase */ public static function setUpBeforeClass(): void { - self::$schemaFile = dirname(__FILE__, 5) . '/resources/schemas/saml-schema-assertion-2.0.xsd'; - self::$testedClass = AssertionIDRef::class; self::$xmlRepresentation = DOMDocumentFactory::fromFile( diff --git a/tests/SAML2/XML/saml/AssertionTest.php b/tests/SAML2/XML/saml/AssertionTest.php index 3143fd040..0f4224194 100644 --- a/tests/SAML2/XML/saml/AssertionTest.php +++ b/tests/SAML2/XML/saml/AssertionTest.php @@ -79,8 +79,6 @@ public static function setUpBeforeClass(): void self::$clock = Utils::getContainer()->getClock(); - self::$schemaFile = dirname(__FILE__, 5) . '/resources/schemas/saml-schema-assertion-2.0.xsd'; - self::$testedClass = Assertion::class; self::$xmlRepresentation = DOMDocumentFactory::fromFile( diff --git a/tests/SAML2/XML/saml/AssertionURIRefTest.php b/tests/SAML2/XML/saml/AssertionURIRefTest.php index ad3e599ed..3cde1d499 100644 --- a/tests/SAML2/XML/saml/AssertionURIRefTest.php +++ b/tests/SAML2/XML/saml/AssertionURIRefTest.php @@ -33,8 +33,6 @@ final class AssertionURIRefTest extends TestCase */ public static function setUpBeforeClass(): void { - self::$schemaFile = dirname(__FILE__, 5) . '/resources/schemas/saml-schema-assertion-2.0.xsd'; - self::$testedClass = AssertionURIRef::class; self::$xmlRepresentation = DOMDocumentFactory::fromFile( diff --git a/tests/SAML2/XML/saml/AttributeStatementTest.php b/tests/SAML2/XML/saml/AttributeStatementTest.php index 61e38f407..000b506fd 100644 --- a/tests/SAML2/XML/saml/AttributeStatementTest.php +++ b/tests/SAML2/XML/saml/AttributeStatementTest.php @@ -36,8 +36,6 @@ final class AttributeStatementTest extends TestCase */ public static function setUpBeforeClass(): void { - self::$schemaFile = dirname(__FILE__, 5) . '/resources/schemas/saml-schema-assertion-2.0.xsd'; - self::$testedClass = AttributeStatement::class; self::$xmlRepresentation = DOMDocumentFactory::fromFile( diff --git a/tests/SAML2/XML/saml/AttributeTest.php b/tests/SAML2/XML/saml/AttributeTest.php index 97ca74304..2b316ff06 100644 --- a/tests/SAML2/XML/saml/AttributeTest.php +++ b/tests/SAML2/XML/saml/AttributeTest.php @@ -50,8 +50,6 @@ public static function setUpBeforeClass(): void { self::$containerBackup = ContainerSingleton::getInstance(); - self::$schemaFile = dirname(__FILE__, 5) . '/resources/schemas/saml-schema-assertion-2.0.xsd'; - self::$testedClass = Attribute::class; self::$xmlRepresentation = DOMDocumentFactory::fromFile( diff --git a/tests/SAML2/XML/saml/AttributeValueTest.php b/tests/SAML2/XML/saml/AttributeValueTest.php index b214e99bb..41ba123ff 100644 --- a/tests/SAML2/XML/saml/AttributeValueTest.php +++ b/tests/SAML2/XML/saml/AttributeValueTest.php @@ -36,8 +36,6 @@ final class AttributeValueTest extends TestCase */ public static function setUpBeforeClass(): void { - self::$schemaFile = dirname(__FILE__, 5) . '/resources/schemas/saml-schema-assertion-2.0.xsd'; - self::$testedClass = AttributeValue::class; self::$xmlRepresentation = DOMDocumentFactory::fromFile( diff --git a/tests/SAML2/XML/saml/AudienceRestrictionTest.php b/tests/SAML2/XML/saml/AudienceRestrictionTest.php index 1eae93eb3..44e8c7799 100644 --- a/tests/SAML2/XML/saml/AudienceRestrictionTest.php +++ b/tests/SAML2/XML/saml/AudienceRestrictionTest.php @@ -34,8 +34,6 @@ final class AudienceRestrictionTest extends TestCase */ public static function setUpBeforeClass(): void { - self::$schemaFile = dirname(__FILE__, 5) . '/resources/schemas/saml-schema-assertion-2.0.xsd'; - self::$testedClass = AudienceRestriction::class; self::$xmlRepresentation = DOMDocumentFactory::fromFile( diff --git a/tests/SAML2/XML/saml/AudienceTest.php b/tests/SAML2/XML/saml/AudienceTest.php index 37ffddfbe..f1813f0bb 100644 --- a/tests/SAML2/XML/saml/AudienceTest.php +++ b/tests/SAML2/XML/saml/AudienceTest.php @@ -35,8 +35,6 @@ final class AudienceTest extends TestCase */ public static function setUpBeforeClass(): void { - self::$schemaFile = dirname(__FILE__, 5) . '/resources/schemas/saml-schema-assertion-2.0.xsd'; - self::$testedClass = Audience::class; self::$xmlRepresentation = DOMDocumentFactory::fromFile( diff --git a/tests/SAML2/XML/saml/AuthenticatingAuthorityTest.php b/tests/SAML2/XML/saml/AuthenticatingAuthorityTest.php index df6957600..7cd4ce242 100644 --- a/tests/SAML2/XML/saml/AuthenticatingAuthorityTest.php +++ b/tests/SAML2/XML/saml/AuthenticatingAuthorityTest.php @@ -33,8 +33,6 @@ final class AuthenticatingAuthorityTest extends TestCase */ public static function setUpBeforeClass(): void { - self::$schemaFile = dirname(__FILE__, 5) . '/resources/schemas/saml-schema-assertion-2.0.xsd'; - self::$testedClass = AuthenticatingAuthority::class; self::$xmlRepresentation = DOMDocumentFactory::fromFile( diff --git a/tests/SAML2/XML/saml/AuthnContextClassRefTest.php b/tests/SAML2/XML/saml/AuthnContextClassRefTest.php index 17996d728..0a538179f 100644 --- a/tests/SAML2/XML/saml/AuthnContextClassRefTest.php +++ b/tests/SAML2/XML/saml/AuthnContextClassRefTest.php @@ -32,8 +32,6 @@ final class AuthnContextClassRefTest extends TestCase public static function setUpBeforeClass(): void { - self::$schemaFile = dirname(__FILE__, 5) . '/resources/schemas/saml-schema-assertion-2.0.xsd'; - self::$testedClass = AuthnContextClassRef::class; self::$xmlRepresentation = DOMDocumentFactory::fromFile( diff --git a/tests/SAML2/XML/saml/AuthnContextDeclRefTest.php b/tests/SAML2/XML/saml/AuthnContextDeclRefTest.php index 08e029585..961bd27b0 100644 --- a/tests/SAML2/XML/saml/AuthnContextDeclRefTest.php +++ b/tests/SAML2/XML/saml/AuthnContextDeclRefTest.php @@ -33,8 +33,6 @@ final class AuthnContextDeclRefTest extends TestCase */ public static function setUpBeforeClass(): void { - self::$schemaFile = dirname(__FILE__, 5) . '/resources/schemas/saml-schema-assertion-2.0.xsd'; - self::$testedClass = AuthnContextDeclRef::class; self::$xmlRepresentation = DOMDocumentFactory::fromFile( diff --git a/tests/SAML2/XML/saml/AuthnContextDeclTest.php b/tests/SAML2/XML/saml/AuthnContextDeclTest.php index 21a1b6209..9cba1a942 100644 --- a/tests/SAML2/XML/saml/AuthnContextDeclTest.php +++ b/tests/SAML2/XML/saml/AuthnContextDeclTest.php @@ -35,8 +35,6 @@ final class AuthnContextDeclTest extends TestCase */ public static function setUpBeforeClass(): void { - self::$schemaFile = dirname(__FILE__, 5) . '/resources/schemas/saml-schema-assertion-2.0.xsd'; - self::$testedClass = AuthnContextDecl::class; self::$xmlRepresentation = DOMDocumentFactory::fromFile( diff --git a/tests/SAML2/XML/saml/AuthnContextWithClassRefAndDeclRefTest.php b/tests/SAML2/XML/saml/AuthnContextWithClassRefAndDeclRefTest.php index 0bd8b96bc..089871e2e 100644 --- a/tests/SAML2/XML/saml/AuthnContextWithClassRefAndDeclRefTest.php +++ b/tests/SAML2/XML/saml/AuthnContextWithClassRefAndDeclRefTest.php @@ -35,8 +35,6 @@ final class AuthnContextWithClassRefAndDeclRefTest extends TestCase public static function setUpBeforeClass(): void { - self::$schemaFile = dirname(__FILE__, 5) . '/resources/schemas/saml-schema-assertion-2.0.xsd'; - self::$testedClass = AuthnContext::class; self::$xmlRepresentation = DOMDocumentFactory::fromFile( diff --git a/tests/SAML2/XML/saml/AuthnContextWithClassRefAndDeclTest.php b/tests/SAML2/XML/saml/AuthnContextWithClassRefAndDeclTest.php index f3874f2da..56130f4b6 100644 --- a/tests/SAML2/XML/saml/AuthnContextWithClassRefAndDeclTest.php +++ b/tests/SAML2/XML/saml/AuthnContextWithClassRefAndDeclTest.php @@ -37,8 +37,6 @@ final class AuthnContextWithClassRefAndDeclTest extends TestCase public static function setUpBeforeClass(): void { - self::$schemaFile = dirname(__FILE__, 5) . '/resources/schemas/saml-schema-assertion-2.0.xsd'; - self::$testedClass = AuthnContext::class; self::$xmlRepresentation = DOMDocumentFactory::fromFile( diff --git a/tests/SAML2/XML/saml/AuthnContextWithClassRefTest.php b/tests/SAML2/XML/saml/AuthnContextWithClassRefTest.php index 53feee851..bd37ae7c5 100644 --- a/tests/SAML2/XML/saml/AuthnContextWithClassRefTest.php +++ b/tests/SAML2/XML/saml/AuthnContextWithClassRefTest.php @@ -34,8 +34,6 @@ final class AuthnContextWithClassRefTest extends TestCase public static function setUpBeforeClass(): void { - self::$schemaFile = dirname(__FILE__, 5) . '/resources/schemas/saml-schema-assertion-2.0.xsd'; - self::$testedClass = AuthnContext::class; self::$xmlRepresentation = DOMDocumentFactory::fromFile( diff --git a/tests/SAML2/XML/saml/AuthnContextWithDeclRefTest.php b/tests/SAML2/XML/saml/AuthnContextWithDeclRefTest.php index b71485d8a..1239cfa52 100644 --- a/tests/SAML2/XML/saml/AuthnContextWithDeclRefTest.php +++ b/tests/SAML2/XML/saml/AuthnContextWithDeclRefTest.php @@ -33,8 +33,6 @@ final class AuthnContextWithDeclRefTest extends TestCase public static function setUpBeforeClass(): void { - self::$schemaFile = dirname(__FILE__, 5) . '/resources/schemas/saml-schema-assertion-2.0.xsd'; - self::$testedClass = AuthnContext::class; self::$xmlRepresentation = DOMDocumentFactory::fromFile( diff --git a/tests/SAML2/XML/saml/AuthnContextWithDeclTest.php b/tests/SAML2/XML/saml/AuthnContextWithDeclTest.php index 6dcb4fef8..ada51076e 100644 --- a/tests/SAML2/XML/saml/AuthnContextWithDeclTest.php +++ b/tests/SAML2/XML/saml/AuthnContextWithDeclTest.php @@ -35,8 +35,6 @@ final class AuthnContextWithDeclTest extends TestCase public static function setUpBeforeClass(): void { - self::$schemaFile = dirname(__FILE__, 5) . '/resources/schemas/saml-schema-assertion-2.0.xsd'; - self::$testedClass = AuthnContext::class; self::$xmlRepresentation = DOMDocumentFactory::fromFile( diff --git a/tests/SAML2/XML/saml/AuthnStatementTest.php b/tests/SAML2/XML/saml/AuthnStatementTest.php index 97c6307bd..c769b6c70 100644 --- a/tests/SAML2/XML/saml/AuthnStatementTest.php +++ b/tests/SAML2/XML/saml/AuthnStatementTest.php @@ -43,8 +43,6 @@ final class AuthnStatementTest extends TestCase */ public static function setUpBeforeClass(): void { - self::$schemaFile = dirname(__FILE__, 5) . '/resources/schemas/saml-schema-assertion-2.0.xsd'; - self::$testedClass = AuthnStatement::class; self::$xmlRepresentation = DOMDocumentFactory::fromFile( diff --git a/tests/SAML2/XML/saml/AuthzDecisionStatementTest.php b/tests/SAML2/XML/saml/AuthzDecisionStatementTest.php index c8c52098b..56b34df87 100644 --- a/tests/SAML2/XML/saml/AuthzDecisionStatementTest.php +++ b/tests/SAML2/XML/saml/AuthzDecisionStatementTest.php @@ -43,8 +43,6 @@ final class AuthzDecisionStatementTest extends TestCase */ public static function setUpBeforeClass(): void { - self::$schemaFile = dirname(__FILE__, 5) . '/resources/schemas/saml-schema-assertion-2.0.xsd'; - self::$testedClass = AuthzDecisionStatement::class; self::$xmlRepresentation = DOMDocumentFactory::fromFile( diff --git a/tests/SAML2/XML/saml/ConditionsTest.php b/tests/SAML2/XML/saml/ConditionsTest.php index 561b29838..191b04319 100644 --- a/tests/SAML2/XML/saml/ConditionsTest.php +++ b/tests/SAML2/XML/saml/ConditionsTest.php @@ -39,8 +39,6 @@ final class ConditionsTest extends TestCase */ public static function setUpBeforeClass(): void { - self::$schemaFile = dirname(__FILE__, 5) . '/resources/schemas/saml-schema-assertion-2.0.xsd'; - self::$testedClass = Conditions::class; self::$xmlRepresentation = DOMDocumentFactory::fromFile( diff --git a/tests/SAML2/XML/saml/EncryptedAssertionTest.php b/tests/SAML2/XML/saml/EncryptedAssertionTest.php index b18ad4c4f..abd32ce1f 100644 --- a/tests/SAML2/XML/saml/EncryptedAssertionTest.php +++ b/tests/SAML2/XML/saml/EncryptedAssertionTest.php @@ -62,8 +62,6 @@ public static function setUpBeforeClass(): void { self::$containerBackup = ContainerSingleton::getInstance(); - self::$schemaFile = dirname(__FILE__, 5) . '/resources/schemas/saml-schema-assertion-2.0.xsd'; - self::$testedClass = EncryptedAssertion::class; self::$xmlRepresentation = DOMDocumentFactory::fromFile( diff --git a/tests/SAML2/XML/saml/EncryptedAttributeTest.php b/tests/SAML2/XML/saml/EncryptedAttributeTest.php index 3cf845808..5e3aacc26 100644 --- a/tests/SAML2/XML/saml/EncryptedAttributeTest.php +++ b/tests/SAML2/XML/saml/EncryptedAttributeTest.php @@ -45,8 +45,6 @@ public static function setUpBeforeClass(): void { self::$containerBackup = ContainerSingleton::getInstance(); - self::$schemaFile = dirname(__FILE__, 5) . '/resources/schemas/saml-schema-assertion-2.0.xsd'; - self::$testedClass = EncryptedAttribute::class; self::$xmlRepresentation = DOMDocumentFactory::fromFile( diff --git a/tests/SAML2/XML/saml/EncryptedIDTest.php b/tests/SAML2/XML/saml/EncryptedIDTest.php index 62b0d3fc6..599e6b170 100644 --- a/tests/SAML2/XML/saml/EncryptedIDTest.php +++ b/tests/SAML2/XML/saml/EncryptedIDTest.php @@ -60,8 +60,6 @@ public static function setUpBeforeClass(): void { self::$containerBackup = ContainerSingleton::getInstance(); - self::$schemaFile = dirname(__FILE__, 5) . '/resources/schemas/saml-schema-assertion-2.0.xsd'; - self::$testedClass = EncryptedID::class; self::$xmlRepresentation = DOMDocumentFactory::fromFile( diff --git a/tests/SAML2/XML/saml/EvidenceTest.php b/tests/SAML2/XML/saml/EvidenceTest.php index 138da6c0c..5047d33c5 100644 --- a/tests/SAML2/XML/saml/EvidenceTest.php +++ b/tests/SAML2/XML/saml/EvidenceTest.php @@ -51,8 +51,6 @@ final class EvidenceTest extends TestCase */ protected function setUp(): void { - self::$schemaFile = dirname(__FILE__, 5) . '/resources/schemas/saml-schema-assertion-2.0.xsd'; - self::$testedClass = Evidence::class; self::$xmlRepresentation = DOMDocumentFactory::fromFile( diff --git a/tests/SAML2/XML/saml/IssuerTest.php b/tests/SAML2/XML/saml/IssuerTest.php index cc1eeab1b..c68a7b0e9 100644 --- a/tests/SAML2/XML/saml/IssuerTest.php +++ b/tests/SAML2/XML/saml/IssuerTest.php @@ -37,8 +37,6 @@ final class IssuerTest extends TestCase */ public static function setUpBeforeClass(): void { - self::$schemaFile = dirname(__FILE__, 5) . '/resources/schemas/saml-schema-assertion-2.0.xsd'; - self::$testedClass = Issuer::class; self::$xmlRepresentation = DOMDocumentFactory::fromFile( diff --git a/tests/SAML2/XML/saml/NameIDTest.php b/tests/SAML2/XML/saml/NameIDTest.php index 03b99f33f..1ee59eb39 100644 --- a/tests/SAML2/XML/saml/NameIDTest.php +++ b/tests/SAML2/XML/saml/NameIDTest.php @@ -38,8 +38,6 @@ final class NameIDTest extends TestCase */ public static function setUpBeforeClass(): void { - self::$schemaFile = dirname(__FILE__, 5) . '/resources/schemas/saml-schema-assertion-2.0.xsd'; - self::$testedClass = NameID::class; self::$arrayRepresentation = [ diff --git a/tests/SAML2/XML/saml/OneTimeUseTest.php b/tests/SAML2/XML/saml/OneTimeUseTest.php index 30842b729..0da52352c 100644 --- a/tests/SAML2/XML/saml/OneTimeUseTest.php +++ b/tests/SAML2/XML/saml/OneTimeUseTest.php @@ -35,8 +35,6 @@ final class OneTimeUseTest extends TestCase */ public static function setUpBeforeClass(): void { - self::$schemaFile = dirname(__FILE__, 5) . '/resources/schemas/saml-schema-assertion-2.0.xsd'; - self::$testedClass = OneTimeUse::class; self::$xmlRepresentation = DOMDocumentFactory::fromFile( diff --git a/tests/SAML2/XML/saml/ProxyRestrictionTest.php b/tests/SAML2/XML/saml/ProxyRestrictionTest.php index b1c729678..c9579120b 100644 --- a/tests/SAML2/XML/saml/ProxyRestrictionTest.php +++ b/tests/SAML2/XML/saml/ProxyRestrictionTest.php @@ -34,8 +34,6 @@ final class ProxyRestrictionTest extends TestCase */ public static function setUpBeforeClass(): void { - self::$schemaFile = dirname(__FILE__, 5) . '/resources/schemas/saml-schema-assertion-2.0.xsd'; - self::$testedClass = ProxyRestriction::class; self::$xmlRepresentation = DOMDocumentFactory::fromFile( diff --git a/tests/SAML2/XML/saml/SubjectConfirmationDataTest.php b/tests/SAML2/XML/saml/SubjectConfirmationDataTest.php index 8fd327f07..0873df296 100644 --- a/tests/SAML2/XML/saml/SubjectConfirmationDataTest.php +++ b/tests/SAML2/XML/saml/SubjectConfirmationDataTest.php @@ -39,8 +39,6 @@ final class SubjectConfirmationDataTest extends TestCase */ public static function setUpBeforeClass(): void { - self::$schemaFile = dirname(__FILE__, 5) . '/resources/schemas/saml-schema-assertion-2.0.xsd'; - self::$testedClass = SubjectConfirmationData::class; self::$xmlRepresentation = DOMDocumentFactory::fromFile( diff --git a/tests/SAML2/XML/saml/SubjectConfirmationTest.php b/tests/SAML2/XML/saml/SubjectConfirmationTest.php index e18bd9e5e..755d7c199 100644 --- a/tests/SAML2/XML/saml/SubjectConfirmationTest.php +++ b/tests/SAML2/XML/saml/SubjectConfirmationTest.php @@ -50,8 +50,6 @@ public static function setUpBeforeClass(): void { self::$clock = Utils::getContainer()->getClock(); - self::$schemaFile = dirname(__FILE__, 5) . '/resources/schemas/saml-schema-assertion-2.0.xsd'; - self::$testedClass = SubjectConfirmation::class; self::$xmlRepresentation = DOMDocumentFactory::fromFile( diff --git a/tests/SAML2/XML/saml/SubjectLocalityTest.php b/tests/SAML2/XML/saml/SubjectLocalityTest.php index f8d6708c9..bd6cb4d1b 100644 --- a/tests/SAML2/XML/saml/SubjectLocalityTest.php +++ b/tests/SAML2/XML/saml/SubjectLocalityTest.php @@ -34,8 +34,6 @@ final class SubjectLocalityTest extends TestCase */ public static function setUpBeforeClass(): void { - self::$schemaFile = dirname(__FILE__, 5) . '/resources/schemas/saml-schema-assertion-2.0.xsd'; - self::$testedClass = SubjectLocality::class; self::$xmlRepresentation = DOMDocumentFactory::fromFile( diff --git a/tests/SAML2/XML/saml/SubjectTest.php b/tests/SAML2/XML/saml/SubjectTest.php index be53fd49b..8e85bee8c 100644 --- a/tests/SAML2/XML/saml/SubjectTest.php +++ b/tests/SAML2/XML/saml/SubjectTest.php @@ -59,8 +59,6 @@ final class SubjectTest extends TestCase public function setup(): void { - self::$schemaFile = dirname(__FILE__, 5) . '/resources/schemas/saml-schema-assertion-2.0.xsd'; - self::$testedClass = Subject::class; self::$xmlRepresentation = DOMDocumentFactory::fromFile( diff --git a/tests/SAML2/XML/samlp/ArtifactResolveTest.php b/tests/SAML2/XML/samlp/ArtifactResolveTest.php index 8b65d8560..25b30f027 100644 --- a/tests/SAML2/XML/samlp/ArtifactResolveTest.php +++ b/tests/SAML2/XML/samlp/ArtifactResolveTest.php @@ -41,8 +41,6 @@ final class ArtifactResolveTest extends TestCase */ public static function setUpBeforeClass(): void { - self::$schemaFile = dirname(__FILE__, 5) . '/resources/schemas/saml-schema-protocol-2.0.xsd'; - self::$testedClass = ArtifactResolve::class; self::$xmlRepresentation = DOMDocumentFactory::fromFile( diff --git a/tests/SAML2/XML/samlp/ArtifactResponseTest.php b/tests/SAML2/XML/samlp/ArtifactResponseTest.php index 273af8001..b589aa0af 100644 --- a/tests/SAML2/XML/samlp/ArtifactResponseTest.php +++ b/tests/SAML2/XML/samlp/ArtifactResponseTest.php @@ -45,8 +45,6 @@ final class ArtifactResponseTest extends TestCase */ public static function setUpBeforeClass(): void { - self::$schemaFile = dirname(__FILE__, 5) . '/resources/schemas/saml-schema-protocol-2.0.xsd'; - self::$testedClass = ArtifactResponse::class; self::$xmlRepresentation = DOMDocumentFactory::fromFile( diff --git a/tests/SAML2/XML/samlp/ArtifactTest.php b/tests/SAML2/XML/samlp/ArtifactTest.php index 929f17736..9a5a1b436 100644 --- a/tests/SAML2/XML/samlp/ArtifactTest.php +++ b/tests/SAML2/XML/samlp/ArtifactTest.php @@ -33,8 +33,6 @@ final class ArtifactTest extends TestCase */ public static function setUpBeforeClass(): void { - self::$schemaFile = dirname(__FILE__, 5) . '/resources/schemas/saml-schema-protocol-2.0.xsd'; - self::$testedClass = Artifact::class; self::$xmlRepresentation = DOMDocumentFactory::fromFile( diff --git a/tests/SAML2/XML/samlp/AssertionIDRequestTest.php b/tests/SAML2/XML/samlp/AssertionIDRequestTest.php index 426097854..8b91d21be 100644 --- a/tests/SAML2/XML/samlp/AssertionIDRequestTest.php +++ b/tests/SAML2/XML/samlp/AssertionIDRequestTest.php @@ -43,8 +43,6 @@ final class AssertionIDRequestTest extends TestCase */ public static function setUpBeforeClass(): void { - self::$schemaFile = dirname(__FILE__, 5) . '/resources/schemas/saml-schema-protocol-2.0.xsd'; - self::$testedClass = AssertionIDRequest::class; self::$xmlRepresentation = DOMDocumentFactory::fromFile( diff --git a/tests/SAML2/XML/samlp/AttributeQueryTest.php b/tests/SAML2/XML/samlp/AttributeQueryTest.php index dcedab7df..a706a366a 100644 --- a/tests/SAML2/XML/samlp/AttributeQueryTest.php +++ b/tests/SAML2/XML/samlp/AttributeQueryTest.php @@ -61,8 +61,6 @@ public static function setUpBeforeClass(): void { self::$clock = Utils::getContainer()->getClock(); - self::$schemaFile = dirname(__FILE__, 5) . '/resources/schemas/saml-schema-protocol-2.0.xsd'; - self::$testedClass = AttributeQuery::class; self::$xmlRepresentation = DOMDocumentFactory::fromFile( diff --git a/tests/SAML2/XML/samlp/AuthnQueryTest.php b/tests/SAML2/XML/samlp/AuthnQueryTest.php index 16f61b5a0..43c69598b 100644 --- a/tests/SAML2/XML/samlp/AuthnQueryTest.php +++ b/tests/SAML2/XML/samlp/AuthnQueryTest.php @@ -50,8 +50,6 @@ final class AuthnQueryTest extends TestCase */ public static function setUpBeforeClass(): void { - self::$schemaFile = dirname(__FILE__, 5) . '/resources/schemas/saml-schema-protocol-2.0.xsd'; - self::$testedClass = AuthnQuery::class; self::$xmlRepresentation = DOMDocumentFactory::fromFile( diff --git a/tests/SAML2/XML/samlp/AuthnRequestTest.php b/tests/SAML2/XML/samlp/AuthnRequestTest.php index 620d87dba..43e7a39aa 100644 --- a/tests/SAML2/XML/samlp/AuthnRequestTest.php +++ b/tests/SAML2/XML/samlp/AuthnRequestTest.php @@ -72,8 +72,6 @@ public static function setUpBeforeClass(): void { self::$clock = Utils::getContainer()->getClock(); - self::$schemaFile = dirname(__FILE__, 5) . '/resources/schemas/saml-schema-protocol-2.0.xsd'; - self::$testedClass = AuthnRequest::class; self::$xmlRepresentation = DOMDocumentFactory::fromFile( diff --git a/tests/SAML2/XML/samlp/AuthzDecisionQueryTest.php b/tests/SAML2/XML/samlp/AuthzDecisionQueryTest.php index 1ed53ad08..8c7877bf1 100644 --- a/tests/SAML2/XML/samlp/AuthzDecisionQueryTest.php +++ b/tests/SAML2/XML/samlp/AuthzDecisionQueryTest.php @@ -54,8 +54,6 @@ final class AuthzDecisionQueryTest extends TestCase */ public static function setUpBeforeClass(): void { - self::$schemaFile = dirname(__FILE__, 5) . '/resources/schemas/saml-schema-protocol-2.0.xsd'; - self::$testedClass = AuthzDecisionQuery::class; self::$xmlRepresentation = DOMDocumentFactory::fromFile( diff --git a/tests/SAML2/XML/samlp/ExtensionsTest.php b/tests/SAML2/XML/samlp/ExtensionsTest.php index ff0be2be9..0cf475d6b 100644 --- a/tests/SAML2/XML/samlp/ExtensionsTest.php +++ b/tests/SAML2/XML/samlp/ExtensionsTest.php @@ -38,8 +38,6 @@ final class ExtensionsTest extends TestCase */ public static function setUpBeforeClass(): void { - self::$schemaFile = dirname(__FILE__, 5) . '/resources/schemas/saml-schema-protocol-2.0.xsd'; - self::$testedClass = Extensions::class; self::$xmlRepresentation = DOMDocumentFactory::fromFile( diff --git a/tests/SAML2/XML/samlp/GetCompleteTest.php b/tests/SAML2/XML/samlp/GetCompleteTest.php index 965cc944e..5ec4332fc 100644 --- a/tests/SAML2/XML/samlp/GetCompleteTest.php +++ b/tests/SAML2/XML/samlp/GetCompleteTest.php @@ -35,8 +35,6 @@ final class GetCompleteTest extends TestCase */ public static function setUpBeforeClass(): void { - self::$schemaFile = dirname(__FILE__, 5) . '/resources/schemas/saml-schema-protocol-2.0.xsd'; - self::$testedClass = GetComplete::class; self::$arrayRepresentation = ['https://some/location']; diff --git a/tests/SAML2/XML/samlp/IDPEntryTest.php b/tests/SAML2/XML/samlp/IDPEntryTest.php index da9709a36..3e062a07c 100644 --- a/tests/SAML2/XML/samlp/IDPEntryTest.php +++ b/tests/SAML2/XML/samlp/IDPEntryTest.php @@ -36,8 +36,6 @@ final class IDPEntryTest extends TestCase */ public static function setUpBeforeClass(): void { - self::$schemaFile = dirname(__FILE__, 5) . '/resources/schemas/saml-schema-protocol-2.0.xsd'; - self::$testedClass = IDPentry::class; self::$arrayRepresentation = [ diff --git a/tests/SAML2/XML/samlp/IDPListTest.php b/tests/SAML2/XML/samlp/IDPListTest.php index 11ed50c5a..11699a9f5 100644 --- a/tests/SAML2/XML/samlp/IDPListTest.php +++ b/tests/SAML2/XML/samlp/IDPListTest.php @@ -40,8 +40,6 @@ final class IDPListTest extends TestCase */ public static function setUpBeforeClass(): void { - self::$schemaFile = dirname(__FILE__, 5) . '/resources/schemas/saml-schema-protocol-2.0.xsd'; - self::$testedClass = IDPList::class; self::$arrayRepresentation = [ diff --git a/tests/SAML2/XML/samlp/LogoutRequestTest.php b/tests/SAML2/XML/samlp/LogoutRequestTest.php index fcb2a2c84..f02ecb681 100644 --- a/tests/SAML2/XML/samlp/LogoutRequestTest.php +++ b/tests/SAML2/XML/samlp/LogoutRequestTest.php @@ -58,8 +58,6 @@ public static function setUpBeforeClass(): void { self::$clock = Utils::getContainer()->getClock(); - self::$schemaFile = dirname(__FILE__, 5) . '/resources/schemas/saml-schema-protocol-2.0.xsd'; - self::$testedClass = LogoutRequest::class; self::$xmlRepresentation = DOMDocumentFactory::fromFile( diff --git a/tests/SAML2/XML/samlp/LogoutResponseTest.php b/tests/SAML2/XML/samlp/LogoutResponseTest.php index 4654f8e40..d2affd040 100644 --- a/tests/SAML2/XML/samlp/LogoutResponseTest.php +++ b/tests/SAML2/XML/samlp/LogoutResponseTest.php @@ -45,8 +45,6 @@ final class LogoutResponseTest extends TestCase */ public static function setUpBeforeClass(): void { - self::$schemaFile = dirname(__FILE__, 5) . '/resources/schemas/saml-schema-protocol-2.0.xsd'; - self::$testedClass = LogoutResponse::class; self::$xmlRepresentation = DOMDocumentFactory::fromFile( diff --git a/tests/SAML2/XML/samlp/NameIDPolicyTest.php b/tests/SAML2/XML/samlp/NameIDPolicyTest.php index 5f16c620c..398762249 100644 --- a/tests/SAML2/XML/samlp/NameIDPolicyTest.php +++ b/tests/SAML2/XML/samlp/NameIDPolicyTest.php @@ -37,8 +37,6 @@ final class NameIDPolicyTest extends TestCase */ public static function setUpBeforeClass(): void { - self::$schemaFile = dirname(__FILE__, 5) . '/resources/schemas/saml-schema-protocol-2.0.xsd'; - self::$testedClass = NameIDPolicy::class; self::$arrayRepresentation = [ diff --git a/tests/SAML2/XML/samlp/RequestedAuthnContextTest.php b/tests/SAML2/XML/samlp/RequestedAuthnContextTest.php index 51ae9d0b8..758482616 100644 --- a/tests/SAML2/XML/samlp/RequestedAuthnContextTest.php +++ b/tests/SAML2/XML/samlp/RequestedAuthnContextTest.php @@ -39,8 +39,6 @@ final class RequestedAuthnContextTest extends TestCase */ public static function setUpBeforeClass(): void { - self::$schemaFile = dirname(__FILE__, 5) . '/resources/schemas/saml-schema-protocol-2.0.xsd'; - self::$testedClass = RequestedAuthnContext::class; self::$xmlRepresentation = DOMDocumentFactory::fromFile( diff --git a/tests/SAML2/XML/samlp/RequesterIDTest.php b/tests/SAML2/XML/samlp/RequesterIDTest.php index d65dfa86b..931fac76f 100644 --- a/tests/SAML2/XML/samlp/RequesterIDTest.php +++ b/tests/SAML2/XML/samlp/RequesterIDTest.php @@ -35,8 +35,6 @@ final class RequesterIDTest extends TestCase */ public static function setUpBeforeClass(): void { - self::$schemaFile = dirname(__FILE__, 5) . '/resources/schemas/saml-schema-protocol-2.0.xsd'; - self::$testedClass = RequesterID::class; self::$xmlRepresentation = DOMDocumentFactory::fromFile( diff --git a/tests/SAML2/XML/samlp/ResponseTest.php b/tests/SAML2/XML/samlp/ResponseTest.php index bf5a1f8df..f0a59c9a4 100644 --- a/tests/SAML2/XML/samlp/ResponseTest.php +++ b/tests/SAML2/XML/samlp/ResponseTest.php @@ -46,8 +46,6 @@ final class ResponseTest extends TestCase */ public static function setUpBeforeClass(): void { - self::$schemaFile = dirname(__FILE__, 5) . '/resources/schemas/saml-schema-protocol-2.0.xsd'; - self::$testedClass = Response::class; self::$xmlRepresentation = DOMDocumentFactory::fromFile( diff --git a/tests/SAML2/XML/samlp/ScopingTest.php b/tests/SAML2/XML/samlp/ScopingTest.php index 9d01c8118..069cd9ef5 100644 --- a/tests/SAML2/XML/samlp/ScopingTest.php +++ b/tests/SAML2/XML/samlp/ScopingTest.php @@ -40,8 +40,6 @@ final class ScopingTest extends TestCase */ public static function setUpBeforeClass(): void { - self::$schemaFile = dirname(__FILE__, 5) . '/resources/schemas/saml-schema-protocol-2.0.xsd'; - self::$testedClass = Scoping::class; self::$xmlRepresentation = DOMDocumentFactory::fromFile( diff --git a/tests/SAML2/XML/samlp/SessionIndexTest.php b/tests/SAML2/XML/samlp/SessionIndexTest.php index cf2360b51..019fc2c0c 100644 --- a/tests/SAML2/XML/samlp/SessionIndexTest.php +++ b/tests/SAML2/XML/samlp/SessionIndexTest.php @@ -33,8 +33,6 @@ final class SessionIndexTest extends TestCase */ public static function setUpBeforeClass(): void { - self::$schemaFile = dirname(__FILE__, 5) . '/resources/schemas/saml-schema-protocol-2.0.xsd'; - self::$testedClass = SessionIndex::class; self::$xmlRepresentation = DOMDocumentFactory::fromFile( diff --git a/tests/SAML2/XML/samlp/StatusCodeTest.php b/tests/SAML2/XML/samlp/StatusCodeTest.php index 8893ee583..aae2f8d07 100644 --- a/tests/SAML2/XML/samlp/StatusCodeTest.php +++ b/tests/SAML2/XML/samlp/StatusCodeTest.php @@ -35,8 +35,6 @@ final class StatusCodeTest extends TestCase */ public static function setUpBeforeClass(): void { - self::$schemaFile = dirname(__FILE__, 5) . '/resources/schemas/saml-schema-protocol-2.0.xsd'; - self::$testedClass = StatusCode::class; self::$xmlRepresentation = DOMDocumentFactory::fromFile( diff --git a/tests/SAML2/XML/samlp/StatusDetailTest.php b/tests/SAML2/XML/samlp/StatusDetailTest.php index c16fcd969..db0aa8614 100644 --- a/tests/SAML2/XML/samlp/StatusDetailTest.php +++ b/tests/SAML2/XML/samlp/StatusDetailTest.php @@ -36,8 +36,6 @@ final class StatusDetailTest extends TestCase */ public static function setUpBeforeClass(): void { - self::$schemaFile = dirname(__FILE__, 5) . '/resources/schemas/saml-schema-protocol-2.0.xsd'; - self::$testedClass = StatusDetail::class; self::$xmlRepresentation = DOMDocumentFactory::fromFile( diff --git a/tests/SAML2/XML/samlp/StatusMessageTest.php b/tests/SAML2/XML/samlp/StatusMessageTest.php index 9cd31ff64..42fe691e7 100644 --- a/tests/SAML2/XML/samlp/StatusMessageTest.php +++ b/tests/SAML2/XML/samlp/StatusMessageTest.php @@ -33,8 +33,6 @@ final class StatusMessageTest extends TestCase */ public static function setUpBeforeClass(): void { - self::$schemaFile = dirname(__FILE__, 5) . '/resources/schemas/saml-schema-protocol-2.0.xsd'; - self::$testedClass = StatusMessage::class; self::$xmlRepresentation = DOMDocumentFactory::fromFile( diff --git a/tests/SAML2/XML/samlp/StatusTest.php b/tests/SAML2/XML/samlp/StatusTest.php index a49eb09cb..87dd0333f 100644 --- a/tests/SAML2/XML/samlp/StatusTest.php +++ b/tests/SAML2/XML/samlp/StatusTest.php @@ -44,8 +44,6 @@ final class StatusTest extends TestCase */ public static function setUpBeforeClass(): void { - self::$schemaFile = dirname(__FILE__, 5) . '/resources/schemas/saml-schema-protocol-2.0.xsd'; - self::$testedClass = Status::class; self::$xmlRepresentation = DOMDocumentFactory::fromFile(