diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2018-02-22 11:29:13 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2018-02-22 15:51:19 +0100 |
commit | 6335c6c5ec3e2f66081afa3570fd887b35473352 (patch) | |
tree | d78470db62f6e474d85dd7fc379faeb1f412e47d /apps/dav | |
parent | 0ee45d3d20ce53db97b6835acb00a95e27ee072d (diff) | |
download | nextcloud-server-6335c6c5ec3e2f66081afa3570fd887b35473352.tar.gz nextcloud-server-6335c6c5ec3e2f66081afa3570fd887b35473352.zip |
Fix dav server test
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'apps/dav')
-rw-r--r-- | apps/dav/tests/unit/ServerTest.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/dav/tests/unit/ServerTest.php b/apps/dav/tests/unit/ServerTest.php index d502b24adcf..58c77c1b0ec 100644 --- a/apps/dav/tests/unit/ServerTest.php +++ b/apps/dav/tests/unit/ServerTest.php @@ -41,6 +41,8 @@ class ServerTest extends \Test\TestCase { public function test() { /** @var IRequest $r */ $r = $this->createMock(IRequest::class); + $r->method('getRequestUri') + ->willReturn('/'); $s = new Server($r, '/'); $this->assertInstanceOf('OCA\DAV\Server', $s); } |