aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/sabre/dav/tests/Sabre/CalDAV/SharingPluginTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/sabre/dav/tests/Sabre/CalDAV/SharingPluginTest.php')
-rw-r--r--vendor/sabre/dav/tests/Sabre/CalDAV/SharingPluginTest.php18
1 files changed, 9 insertions, 9 deletions
diff --git a/vendor/sabre/dav/tests/Sabre/CalDAV/SharingPluginTest.php b/vendor/sabre/dav/tests/Sabre/CalDAV/SharingPluginTest.php
index 57732cd06..45c389cc2 100644
--- a/vendor/sabre/dav/tests/Sabre/CalDAV/SharingPluginTest.php
+++ b/vendor/sabre/dav/tests/Sabre/CalDAV/SharingPluginTest.php
@@ -131,7 +131,7 @@ class SharingPluginTest extends \Sabre\DAVServerTest
$response = $this->request($request);
- $this->assertEquals(501, $response->status, $response->body);
+ $this->assertEquals(501, $response->status, $response->getBodyAsString());
}
public function testUnknownMethodNoXML()
@@ -144,7 +144,7 @@ class SharingPluginTest extends \Sabre\DAVServerTest
$response = $this->request($request);
- $this->assertEquals(501, $response->status, $response->body);
+ $this->assertEquals(501, $response->status, $response->getBodyAsString());
}
public function testUnknownMethodNoNode()
@@ -157,7 +157,7 @@ class SharingPluginTest extends \Sabre\DAVServerTest
$response = $this->request($request);
- $this->assertEquals(501, $response->status, $response->body);
+ $this->assertEquals(501, $response->status, $response->getBodyAsString());
}
public function testShareRequest()
@@ -250,7 +250,7 @@ RRR;
$request->setBody($xml);
$response = $this->request($request);
- $this->assertEquals(200, $response->status, $response->body);
+ $this->assertEquals(200, $response->status, $response->getBodyAsString());
}
public function testInviteBadXML()
@@ -267,7 +267,7 @@ RRR;
';
$request->setBody($xml);
$response = $this->request($request);
- $this->assertEquals(400, $response->status, $response->body);
+ $this->assertEquals(400, $response->status, $response->getBodyAsString());
}
public function testInviteWrongUrl()
@@ -285,7 +285,7 @@ RRR;
';
$request->setBody($xml);
$response = $this->request($request);
- $this->assertEquals(501, $response->status, $response->body);
+ $this->assertEquals(501, $response->status, $response->getBodyAsString());
// If the plugin did not handle this request, it must ensure that the
// body is still accessible by other plugins.
@@ -312,7 +312,7 @@ RRR;
$request->setBody($xml);
$response = $this->request($request);
- $this->assertEquals(202, $response->status, $response->body);
+ $this->assertEquals(202, $response->status, $response->getBodyAsString());
}
public function testUnpublish()
@@ -330,7 +330,7 @@ RRR;
$request->setBody($xml);
$response = $this->request($request);
- $this->assertEquals(200, $response->status, $response->body);
+ $this->assertEquals(200, $response->status, $response->getBodyAsString());
}
public function testPublishWrongUrl()
@@ -379,6 +379,6 @@ RRR;
$request->setBody($xml);
$response = $this->request($request);
- $this->assertEquals(501, $response->status, $response->body);
+ $this->assertEquals(501, $response->status, $response->getBodyAsString());
}
}