diff --git a/tests/Unit/Crypt/RSA/LoadKeyTest.php b/tests/Unit/Crypt/RSA/LoadKeyTest.php index ac3efd78..4c3c3449 100644 --- a/tests/Unit/Crypt/RSA/LoadKeyTest.php +++ b/tests/Unit/Crypt/RSA/LoadKeyTest.php @@ -440,6 +440,7 @@ Private-MAC: 35134b7434bf828b21404099861d455e660e8740'; $plaintext = 'zzz'; $privKey = PublicKeyLoader::load($key); + $this->assertSame($key, $privKey->toString('MSBLOB')); $this->assertInstanceOf(PrivateKey::class, $privKey); $this->assertSame($privKey->getLoadedFormat(), 'MSBLOB'); $this->assertGreaterThanOrEqual(1, strlen("$privKey"));