diff --git a/tests/XML/EncryptedCustomTest.php b/tests/XML/EncryptedCustomTest.php index e4d868dc..f0f68a0e 100644 --- a/tests/XML/EncryptedCustomTest.php +++ b/tests/XML/EncryptedCustomTest.php @@ -15,7 +15,6 @@ use SimpleSAML\XMLSecurity\Key\PrivateKey; use SimpleSAML\XMLSecurity\Key\PublicKey; use SimpleSAML\XMLSecurity\Key\SymmetricKey; -use SimpleSAML\XMLSecurity\Test\XML\CustomSigned; use SimpleSAML\XMLSecurity\Test\XML\EncryptedCustom; use SimpleSAML\XMLSecurity\TestUtils\PEMCertificatesMock; use SimpleSAML\XMLSecurity\XML\EncryptableElementTrait; @@ -110,7 +109,7 @@ public function testSignatureVerifiesAfterEncryptionAndDecryption(): void $privateKey = PEMCertificatesMock::getPrivateKey(PEMCertificatesMock::SELFSIGNED_PRIVATE_KEY); $signer = (new SignatureAlgorithmFactory())->getAlgorithm( C::SIG_RSA_SHA256, - $privateKey + $privateKey, ); $customSigned->sign($signer); $customSigned = CustomSignable::fromXML($customSigned->toXML());