From 6da066e7be9ad77f9591d993df92156c9f184624 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Thu, 7 Jul 2016 16:56:28 +0200 Subject: Fix test using private propertries --- apps/dav/tests/unit/ServerTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/dav/tests/unit') 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); } } -- cgit v1.2.3