Skip to content

Commit cb73e44

Browse files
committed
Fix unit test
1 parent d789b14 commit cb73e44

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/XML/EncryptedCustomTest.php

+1-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
use SimpleSAML\XMLSecurity\Key\PrivateKey;
1616
use SimpleSAML\XMLSecurity\Key\PublicKey;
1717
use SimpleSAML\XMLSecurity\Key\SymmetricKey;
18-
use SimpleSAML\XMLSecurity\Test\XML\CustomSigned;
1918
use SimpleSAML\XMLSecurity\Test\XML\EncryptedCustom;
2019
use SimpleSAML\XMLSecurity\TestUtils\PEMCertificatesMock;
2120
use SimpleSAML\XMLSecurity\XML\EncryptableElementTrait;
@@ -110,7 +109,7 @@ public function testSignatureVerifiesAfterEncryptionAndDecryption(): void
110109
$privateKey = PEMCertificatesMock::getPrivateKey(PEMCertificatesMock::SELFSIGNED_PRIVATE_KEY);
111110
$signer = (new SignatureAlgorithmFactory())->getAlgorithm(
112111
C::SIG_RSA_SHA256,
113-
$privateKey
112+
$privateKey,
114113
);
115114
$customSigned->sign($signer);
116115
$customSigned = CustomSignable::fromXML($customSigned->toXML());

0 commit comments

Comments
 (0)