aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/sabre/dav/tests/Sabre/DAV/PartialUpdate/PluginTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/sabre/dav/tests/Sabre/DAV/PartialUpdate/PluginTest.php')
-rw-r--r--vendor/sabre/dav/tests/Sabre/DAV/PartialUpdate/PluginTest.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/vendor/sabre/dav/tests/Sabre/DAV/PartialUpdate/PluginTest.php b/vendor/sabre/dav/tests/Sabre/DAV/PartialUpdate/PluginTest.php
index 63d692ec9..0cf6dc4e4 100644
--- a/vendor/sabre/dav/tests/Sabre/DAV/PartialUpdate/PluginTest.php
+++ b/vendor/sabre/dav/tests/Sabre/DAV/PartialUpdate/PluginTest.php
@@ -44,7 +44,7 @@ class PluginTest extends \Sabre\DAVServerTest
]);
$response = $this->request($request);
- $this->assertEquals(400, $response->status, 'Full response body:'.$response->body);
+ $this->assertEquals(400, $response->status, 'Full response body:'.$response->getBodyAsString());
}
public function testPatchNotSupported()
@@ -56,7 +56,7 @@ class PluginTest extends \Sabre\DAVServerTest
);
$response = $this->request($request);
- $this->assertEquals(405, $response->status, 'Full response body:'.$response->body);
+ $this->assertEquals(405, $response->status, 'Full response body:'.$response->getBodyAsString());
}
public function testPatchNoContentType()
@@ -68,7 +68,7 @@ class PluginTest extends \Sabre\DAVServerTest
);
$response = $this->request($request);
- $this->assertEquals(415, $response->status, 'Full response body:'.$response->body);
+ $this->assertEquals(415, $response->status, 'Full response body:'.$response->getBodyAsString());
}
public function testPatchBadRange()
@@ -80,7 +80,7 @@ class PluginTest extends \Sabre\DAVServerTest
);
$response = $this->request($request);
- $this->assertEquals(416, $response->status, 'Full response body:'.$response->body);
+ $this->assertEquals(416, $response->status, 'Full response body:'.$response->getBodyAsString());
}
public function testPatchNoLength()
@@ -92,7 +92,7 @@ class PluginTest extends \Sabre\DAVServerTest
);
$response = $this->request($request);
- $this->assertEquals(411, $response->status, 'Full response body:'.$response->body);
+ $this->assertEquals(411, $response->status, 'Full response body:'.$response->getBodyAsString());
}
public function testPatchSuccess()
@@ -104,7 +104,7 @@ class PluginTest extends \Sabre\DAVServerTest
);
$response = $this->request($request);
- $this->assertEquals(204, $response->status, 'Full response body:'.$response->body);
+ $this->assertEquals(204, $response->status, 'Full response body:'.$response->getBodyAsString());
$this->assertEquals('aaabbbaa', $this->node->get());
}