summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/dav/lib/Server.php2
-rw-r--r--apps/dav/tests/unit/ServerTest.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/dav/lib/Server.php b/apps/dav/lib/Server.php
index ddfd84d4369..0715d39049c 100644
--- a/apps/dav/lib/Server.php
+++ b/apps/dav/lib/Server.php
@@ -47,7 +47,7 @@ class Server {
private $baseUri;
/** @var Connector\Sabre\Server */
- protected $server;
+ private $server;
public function __construct(IRequest $request, $baseUri) {
$this->request = $request;
diff --git a/apps/dav/tests/unit/ServerTest.php b/apps/dav/tests/unit/ServerTest.php
index 83f14db88f1..97c165683bd 100644
--- a/apps/dav/tests/unit/ServerTest.php
+++ b/apps/dav/tests/unit/ServerTest.php
@@ -39,6 +39,6 @@ class ServerTest extends \Test\TestCase {
$r = $this->getMockBuilder('\OCP\IRequest')
->disableOriginalConstructor()->getMock();
$s = new Server($r, '/');
- $this->assertNotNull($s->server);
+ $this->assertInstanceOf('OCA\DAV\Server', $s);
}
}