Fix dav server test
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
parent
0ee45d3d20
commit
6335c6c5ec
|
@ -41,6 +41,8 @@ class ServerTest extends \Test\TestCase {
|
||||||
public function test() {
|
public function test() {
|
||||||
/** @var IRequest $r */
|
/** @var IRequest $r */
|
||||||
$r = $this->createMock(IRequest::class);
|
$r = $this->createMock(IRequest::class);
|
||||||
|
$r->method('getRequestUri')
|
||||||
|
->willReturn('/');
|
||||||
$s = new Server($r, '/');
|
$s = new Server($r, '/');
|
||||||
$this->assertInstanceOf('OCA\DAV\Server', $s);
|
$this->assertInstanceOf('OCA\DAV\Server', $s);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue