aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/sabre/dav/tests/Sabre/CalDAV/ValidateICalTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/sabre/dav/tests/Sabre/CalDAV/ValidateICalTest.php')
-rw-r--r--vendor/sabre/dav/tests/Sabre/CalDAV/ValidateICalTest.php9
1 files changed, 4 insertions, 5 deletions
diff --git a/vendor/sabre/dav/tests/Sabre/CalDAV/ValidateICalTest.php b/vendor/sabre/dav/tests/Sabre/CalDAV/ValidateICalTest.php
index 4e2411391..fc87184d9 100644
--- a/vendor/sabre/dav/tests/Sabre/CalDAV/ValidateICalTest.php
+++ b/vendor/sabre/dav/tests/Sabre/CalDAV/ValidateICalTest.php
@@ -8,10 +8,12 @@ use Sabre\DAV;
use Sabre\DAVACL;
use Sabre\HTTP;
+require_once 'Sabre/HTTP/ResponseMock.php';
+
class ValidateICalTest extends \PHPUnit\Framework\TestCase
{
/**
- * @var DAV\Server
+ * @var Sabre\DAV\Server
*/
protected $server;
/**
@@ -19,7 +21,7 @@ class ValidateICalTest extends \PHPUnit\Framework\TestCase
*/
protected $calBackend;
- public function setup(): void
+ public function setUp()
{
$calendars = [
[
@@ -54,9 +56,6 @@ class ValidateICalTest extends \PHPUnit\Framework\TestCase
$this->server->httpResponse = $response;
}
- /**
- * @return Sabre\HTTP\ResponseMock
- */
public function request(HTTP\Request $request)
{
$this->server->httpRequest = $request;