summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2018-02-26 11:02:30 +0100
committerGitHub <noreply@github.com>2018-02-26 11:02:30 +0100
commit695e32d0a66c6c5293291c3f31c5458fd5c248db (patch)
tree8fd08b222a77486c675bc1e07ebbae9300a2f196 /apps
parent2f12094ea8126c8c8f4ca0590f903e80e885e9d9 (diff)
parent043a824e6aaaf7f6ef85be98ffeea4f458a5d541 (diff)
downloadnextcloud-server-695e32d0a66c6c5293291c3f31c5458fd5c248db.tar.gz
nextcloud-server-695e32d0a66c6c5293291c3f31c5458fd5c248db.zip
Merge pull request #8491 from nextcloud/strict_request
Make Request strict
Diffstat (limited to 'apps')
-rw-r--r--apps/dav/tests/unit/ServerTest.php2
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);
}