aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/Encryption
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2022-11-14 16:14:35 +0100
committerCôme Chilliet <come.chilliet@nextcloud.com>2022-11-14 16:14:35 +0100
commit70e2217d1c23dbe7062c188091c0d9f10a5bd84b (patch)
tree32ee4dc89475f735f621d5ad864896f82d954b93 /tests/lib/Encryption
parentea377578ad50809c13e792acfa2bc1bd6b94df24 (diff)
downloadnextcloud-server-70e2217d1c23dbe7062c188091c0d9f10a5bd84b.tar.gz
nextcloud-server-70e2217d1c23dbe7062c188091c0d9f10a5bd84b.zip
Fix dynamic properties and other problems in tests for PHP 8.2
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'tests/lib/Encryption')
-rw-r--r--tests/lib/Encryption/Keys/StorageTest.php9
1 files changed, 5 insertions, 4 deletions
diff --git a/tests/lib/Encryption/Keys/StorageTest.php b/tests/lib/Encryption/Keys/StorageTest.php
index bb7bbbcd7c1..5301453c191 100644
--- a/tests/lib/Encryption/Keys/StorageTest.php
+++ b/tests/lib/Encryption/Keys/StorageTest.php
@@ -31,22 +31,23 @@ use PHPUnit\Framework\MockObject\MockObject;
use Test\TestCase;
class StorageTest extends TestCase {
-
/** @var Storage */
protected $storage;
- /** @var \PHPUnit\Framework\MockObject\MockObject */
+ /** @var MockObject */
protected $util;
- /** @var \PHPUnit\Framework\MockObject\MockObject */
+ /** @var MockObject */
protected $view;
- /** @var \PHPUnit\Framework\MockObject\MockObject */
+ /** @var MockObject */
protected $config;
/** @var MockObject|ICrypto */
protected $crypto;
+ private array $mkdirStack = [];
+
protected function setUp(): void {
parent::setUp();