aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/sabre/dav/tests/Sabre/CalDAV/ICSExportPluginTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/sabre/dav/tests/Sabre/CalDAV/ICSExportPluginTest.php')
-rw-r--r--vendor/sabre/dav/tests/Sabre/CalDAV/ICSExportPluginTest.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/vendor/sabre/dav/tests/Sabre/CalDAV/ICSExportPluginTest.php b/vendor/sabre/dav/tests/Sabre/CalDAV/ICSExportPluginTest.php
index c139e5b5c..8771f538b 100644
--- a/vendor/sabre/dav/tests/Sabre/CalDAV/ICSExportPluginTest.php
+++ b/vendor/sabre/dav/tests/Sabre/CalDAV/ICSExportPluginTest.php
@@ -15,7 +15,7 @@ class ICSExportPluginTest extends \Sabre\DAVServerTest
protected $icsExportPlugin;
- public function setUp()
+ public function setup(): void
{
parent::setUp();
$this->icsExportPlugin = new ICSExportPlugin();
@@ -82,7 +82,7 @@ ICS
$this->assertEquals(200, $response->getStatus());
$this->assertEquals('text/calendar', $response->getHeader('Content-Type'));
- $obj = VObject\Reader::read($response->body);
+ $obj = VObject\Reader::read($response->getBodyAsString());
$this->assertEquals(8, count($obj->children()));
$this->assertEquals(1, count($obj->VERSION));
@@ -108,7 +108,7 @@ ICS
$this->assertEquals(200, $response->getStatus());
$this->assertEquals('text/calendar', $response->getHeader('Content-Type'));
- $obj = VObject\Reader::read($response->body);
+ $obj = VObject\Reader::read($response->getBodyAsString());
$this->assertEquals(8, count($obj->children()));
$this->assertEquals(1, count($obj->VERSION));
@@ -166,7 +166,7 @@ ICS
$response = $this->request($request, 200);
$this->assertEquals('text/calendar', $response->getHeader('Content-Type'));
- $obj = VObject\Reader::read($response->body);
+ $obj = VObject\Reader::read($response->getBodyAsString());
$this->assertEquals(8, count($obj->children()));
$this->assertEquals(1, count($obj->VERSION));
@@ -276,7 +276,7 @@ ICS
$response = $this->request($request, 200);
- $obj = VObject\Reader::read($response->body);
+ $obj = VObject\Reader::read($response->getBodyAsString());
$this->assertEquals(1, count($obj->VTIMEZONE));
$this->assertEquals(1, count($obj->VEVENT));
$this->assertNull($obj->VTODO);
@@ -291,7 +291,7 @@ ICS
$response = $this->request($request, 200);
- $obj = VObject\Reader::read($response->body);
+ $obj = VObject\Reader::read($response->getBodyAsString());
$this->assertNull($obj->VTIMEZONE);
$this->assertNull($obj->VEVENT);