aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2023-12-28 17:32:17 +0100
committerHarald Eilertsen <haraldei@anduin.net>2023-12-28 17:32:17 +0100
commit431b5c4aa1fd6e7a6af744af337b1512ec4bda87 (patch)
treea939b78350e479fd50ff3255582975262d69adde
parentf5a028fccf6a738c3b5722f0db661d0333f3faff (diff)
downloadvolse-hubzilla-431b5c4aa1fd6e7a6af744af337b1512ec4bda87.tar.gz
volse-hubzilla-431b5c4aa1fd6e7a6af744af337b1512ec4bda87.tar.bz2
volse-hubzilla-431b5c4aa1fd6e7a6af744af337b1512ec4bda87.zip
tests: Remove some annotations that caused warnings.
-rw-r--r--tests/unit/Web/HttpSigTest.php7
1 files changed, 1 insertions, 6 deletions
diff --git a/tests/unit/Web/HttpSigTest.php b/tests/unit/Web/HttpSigTest.php
index 5524e0510..0a22b543a 100644
--- a/tests/unit/Web/HttpSigTest.php
+++ b/tests/unit/Web/HttpSigTest.php
@@ -70,9 +70,6 @@ class HttpSigTest extends UnitTestCase {
);
}
- /**
- * @uses ::Crypto::unencapsulate
- */
function testDecrypt_sigheader() {
$header = 'Header: iv="value_iv" key="value_key" alg="value_alg" data="value_data"';
$result = [
@@ -85,9 +82,7 @@ class HttpSigTest extends UnitTestCase {
$this->assertSame($result, HTTPSig::decrypt_sigheader($header, 'site private key'));
}
- /**
- * @uses ::Crypto::unencapsulate
- */
+
function testDecrypt_sigheaderUseSitePrivateKey() {
// Create a stub for global function get_config() with expectation
$t = $this->getFunctionMock('Zotlabs\Web', 'get_config');