diff options
author | Côme Chilliet <come.chilliet@nextcloud.com> | 2022-11-14 16:14:35 +0100 |
---|---|---|
committer | Côme Chilliet <come.chilliet@nextcloud.com> | 2022-11-14 16:14:35 +0100 |
commit | 70e2217d1c23dbe7062c188091c0d9f10a5bd84b (patch) | |
tree | 32ee4dc89475f735f621d5ad864896f82d954b93 /tests/lib/Encryption | |
parent | ea377578ad50809c13e792acfa2bc1bd6b94df24 (diff) | |
download | nextcloud-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.php | 9 |
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(); |