aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/sabre/dav/tests/Sabre/DAV/ServerSimpleTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/sabre/dav/tests/Sabre/DAV/ServerSimpleTest.php')
-rw-r--r--vendor/sabre/dav/tests/Sabre/DAV/ServerSimpleTest.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/vendor/sabre/dav/tests/Sabre/DAV/ServerSimpleTest.php b/vendor/sabre/dav/tests/Sabre/DAV/ServerSimpleTest.php
index 53153151b..563f558eb 100644
--- a/vendor/sabre/dav/tests/Sabre/DAV/ServerSimpleTest.php
+++ b/vendor/sabre/dav/tests/Sabre/DAV/ServerSimpleTest.php
@@ -42,7 +42,7 @@ class ServerSimpleTest extends AbstractServer
], $this->response->getHeaders());
$this->assertEquals(200, $this->response->status);
- $this->assertEquals('', $this->response->body);
+ $this->assertEquals('', $this->response->getBodyAsString());
}
public function testOptionsUnmapped()
@@ -62,7 +62,7 @@ class ServerSimpleTest extends AbstractServer
], $this->response->getHeaders());
$this->assertEquals(200, $this->response->status);
- $this->assertEquals('', $this->response->body);
+ $this->assertEquals('', $this->response->getBodyAsString());
}
public function testNonExistantMethod()
@@ -371,7 +371,7 @@ class ServerSimpleTest extends AbstractServer
$this->response->getHeaders()
);
- $this->assertEquals(415, $this->response->status, 'We got an incorrect status back. Full response body follows: '.$this->response->body);
+ $this->assertEquals(415, $this->response->status, 'We got an incorrect status back. Full response body follows: '.$this->response->getBodyAsString());
}
public function testReportIntercepted()
@@ -394,7 +394,7 @@ class ServerSimpleTest extends AbstractServer
$this->response->getHeaders()
);
- $this->assertEquals(418, $this->response->status, 'We got an incorrect status back. Full response body follows: '.$this->response->body);
+ $this->assertEquals(418, $this->response->status, 'We got an incorrect status back. Full response body follows: '.$this->response->getBodyAsString());
}
public function reportHandler($reportName, $result, $path)