aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/Metadata/FileMetadataMapperTest.php
diff options
context:
space:
mode:
authorCôme Chilliet <91878298+come-nc@users.noreply.github.com>2022-08-02 16:01:09 +0200
committerGitHub <noreply@github.com>2022-08-02 16:01:09 +0200
commit5cce1dfc6083b7f95a905dd5afd9c74e2984ba7c (patch)
tree69f81c4946bc1083eb0f9ec380dcc55495db9dec /tests/lib/Metadata/FileMetadataMapperTest.php
parent6aec09e0c52cae6a871e9def2f9e40d02938516f (diff)
parent7ae67917374844bc704a15da46159b5c19513f60 (diff)
downloadnextcloud-server-5cce1dfc6083b7f95a905dd5afd9c74e2984ba7c.tar.gz
nextcloud-server-5cce1dfc6083b7f95a905dd5afd9c74e2984ba7c.zip
Merge pull request #33425 from nextcloud/fix/fix-dynamic-properties-in-tests
Fix dynamic property creations in test files
Diffstat (limited to 'tests/lib/Metadata/FileMetadataMapperTest.php')
-rw-r--r--tests/lib/Metadata/FileMetadataMapperTest.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/lib/Metadata/FileMetadataMapperTest.php b/tests/lib/Metadata/FileMetadataMapperTest.php
index 8e385351be2..1a005f24b8a 100644
--- a/tests/lib/Metadata/FileMetadataMapperTest.php
+++ b/tests/lib/Metadata/FileMetadataMapperTest.php
@@ -24,6 +24,7 @@ namespace Test\Metadata;
use OC\Metadata\FileMetadataMapper;
use OC\Metadata\FileMetadata;
+use PHPUnit\Framework\MockObject\MockObject;
/**
* @group DB
@@ -33,9 +34,12 @@ class FileMetadataMapperTest extends \Test\TestCase {
/** @var IDBConnection */
protected $connection;
- /** @var SystemConfig|\PHPUnit\Framework\MockObject\MockObject */
+ /** @var SystemConfig|MockObject */
protected $config;
+ /** @var FileMetadataMapper|MockObject */
+ protected $mapper;
+
protected function setUp(): void {
parent::setUp();