diff options
author | Robin Appelman <robin@icewind.nl> | 2018-02-09 13:19:39 +0100 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2018-02-09 17:13:30 +0100 |
commit | 359ccbc023ce134c828a620fb6f7e70e886e5e44 (patch) | |
tree | c801d4ab01cbe61f0fee3f327ff564e83e783413 /build/integration/features/bootstrap/CapabilitiesContext.php | |
parent | 97b44605f4d38a1742cf95204ed6b5e9ca0d6951 (diff) | |
download | nextcloud-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.php | 2 |
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']); |