aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2025-07-09 08:00:27 +0000
committerMario <mario@mariovavti.com>2025-07-09 08:00:27 +0000
commit08b7eb52c729b1249ca00c0444009fc7d08ff01f (patch)
tree0f59cba50b3fcaea32fc85745ff504bfb4210410
parent43ebf69d09a9cd779a9fcc70ea642632bb0aeeae (diff)
downloadvolse-hubzilla-08b7eb52c729b1249ca00c0444009fc7d08ff01f.tar.gz
volse-hubzilla-08b7eb52c729b1249ca00c0444009fc7d08ff01f.tar.bz2
volse-hubzilla-08b7eb52c729b1249ca00c0444009fc7d08ff01f.zip
remove unneeded code from test
-rw-r--r--tests/unit/Lib/KeyutilsTest.php4
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/unit/Lib/KeyutilsTest.php b/tests/unit/Lib/KeyutilsTest.php
index 6f5cad10d..1f3fa2295 100644
--- a/tests/unit/Lib/KeyutilsTest.php
+++ b/tests/unit/Lib/KeyutilsTest.php
@@ -86,10 +86,6 @@ sQIDAQAB
'n' => new BigInteger($m, 256)
]);
- if (method_exists($parsedKey, 'getPublicKey')) {
- $parsedKey = $parsedKey->getPublicKey();
- }
-
self::assertEquals($parsedKey->toString('PKCS8'), $this->getPubPKCS8());
}