aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav/tests/integration/Db/PropertyMapperTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/dav/tests/integration/Db/PropertyMapperTest.php')
-rw-r--r--apps/dav/tests/integration/Db/PropertyMapperTest.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/dav/tests/integration/Db/PropertyMapperTest.php b/apps/dav/tests/integration/Db/PropertyMapperTest.php
index 054acedb664..9bd47a82d35 100644
--- a/apps/dav/tests/integration/Db/PropertyMapperTest.php
+++ b/apps/dav/tests/integration/Db/PropertyMapperTest.php
@@ -10,6 +10,7 @@ declare(strict_types=1);
namespace OCA\DAV\Tests\integration\Db;
use OCA\DAV\Db\PropertyMapper;
+use OCP\Server;
use Test\TestCase;
/**
@@ -23,7 +24,7 @@ class PropertyMapperTest extends TestCase {
protected function setUp(): void {
parent::setUp();
- $this->mapper = \OC::$server->get(PropertyMapper::class);
+ $this->mapper = Server::get(PropertyMapper::class);
}
public function testFindNonExistent(): void {