aboutsummaryrefslogtreecommitdiffstats
path: root/build/integration/features/bootstrap/CapabilitiesContext.php
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2018-02-09 13:19:39 +0100
committerRobin Appelman <robin@icewind.nl>2018-02-09 17:13:30 +0100
commit359ccbc023ce134c828a620fb6f7e70e886e5e44 (patch)
treec801d4ab01cbe61f0fee3f327ff564e83e783413 /build/integration/features/bootstrap/CapabilitiesContext.php
parent97b44605f4d38a1742cf95204ed6b5e9ca0d6951 (diff)
downloadnextcloud-server-359ccbc023ce134c828a620fb6f7e70e886e5e44.tar.gz
nextcloud-server-359ccbc023ce134c828a620fb6f7e70e886e5e44.zip
Adjust integration tests to new guzzle
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'build/integration/features/bootstrap/CapabilitiesContext.php')
-rw-r--r--build/integration/features/bootstrap/CapabilitiesContext.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/integration/features/bootstrap/CapabilitiesContext.php b/build/integration/features/bootstrap/CapabilitiesContext.php
index 6ff9b1813c4..c3cbace5932 100644
--- a/build/integration/features/bootstrap/CapabilitiesContext.php
+++ b/build/integration/features/bootstrap/CapabilitiesContext.php
@@ -44,7 +44,7 @@ class CapabilitiesContext implements Context, SnippetAcceptingContext {
* @param \Behat\Gherkin\Node\TableNode|null $formData
*/
public function checkCapabilitiesResponse(\Behat\Gherkin\Node\TableNode $formData){
- $capabilitiesXML = $this->response->xml()->data->capabilities;
+ $capabilitiesXML = simplexml_load_string($this->response->getBody())->data->capabilities;
foreach ($formData->getHash() as $row) {
$path_to_element = explode('@@@', $row['path_to_element']);