mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Fix test using private propertries
This commit is contained in:
parent
d0e6fdba4d
commit
6da066e7be
2 changed files with 2 additions and 2 deletions
|
|
@ -47,7 +47,7 @@ class Server {
|
|||
private $baseUri;
|
||||
|
||||
/** @var Connector\Sabre\Server */
|
||||
protected $server;
|
||||
private $server;
|
||||
|
||||
public function __construct(IRequest $request, $baseUri) {
|
||||
$this->request = $request;
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue