diff options
author | Robin Appelman <icewind@owncloud.com> | 2016-07-07 16:56:28 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2016-07-08 12:36:25 +0200 |
commit | 6da066e7be9ad77f9591d993df92156c9f184624 (patch) | |
tree | 473604ce19265a36c8230bc5efc01ca906152f80 /apps/dav/tests/unit | |
parent | d0e6fdba4d38ad7d7d7e95ec4cb752d8b609af5c (diff) | |
download | nextcloud-server-6da066e7be9ad77f9591d993df92156c9f184624.tar.gz nextcloud-server-6da066e7be9ad77f9591d993df92156c9f184624.zip |
Fix test using private propertries
Diffstat (limited to 'apps/dav/tests/unit')
-rw-r--r-- | apps/dav/tests/unit/ServerTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
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); } } |