diff --git a/build/integration/features/bootstrap/WebDav.php b/build/integration/features/bootstrap/WebDav.php
index f19ae1a86efe3cf3f4e2474f65974420072b33f6..9cb9d4a3048c91aa2bf498644da73656611ef8e1 100644
--- a/build/integration/features/bootstrap/WebDav.php
+++ b/build/integration/features/bootstrap/WebDav.php
@@ -410,7 +410,7 @@ trait WebDav {
 	public function reportFolder($user, $path, $properties = null){
 		$client = $this->getSabreClient($user);
 
-		$body = [ 'body' => '<?xml version="1.0" encoding="utf-8" ?>
+		$body = '<?xml version="1.0" encoding="utf-8" ?>
 							 <oc:filter-files xmlns:a="DAV:" xmlns:oc="http://owncloud.org/ns" >
 								 <a:prop>
 									 <oc:id/>
@@ -433,11 +433,11 @@ trait WebDav {
 								 <oc:filter-rules>
 									<oc:favorite>1</oc:favorite>
 								 </oc:filter-rules>
-							 </oc:filter-files>'];
+							 </oc:filter-files>';
 
 		$response = $client->request('REPORT', $this->makeSabrePath($user, $path), $body);
-
-		return $response;
+		$parsedResponse = $client->parseMultistatus($response['body']);
+		return $parsedResponse;
 	}
 
 	public function makeSabrePath($user, $path) {
diff --git a/build/integration/features/favorites.feature b/build/integration/features/favorites.feature
index a2ee579436e00f93924d2a7772c8f49593dd6d10..c00ed05eefe26186769fe62d9ab02453973fbb2d 100644
--- a/build/integration/features/favorites.feature
+++ b/build/integration/features/favorites.feature
@@ -86,7 +86,7 @@ Feature: favorite
         And user "user0" favorites element "/textfile0.txt"
         And user "user0" favorites element "/textfile1.txt"
         Then user "user0" in folder "/" should have favorited the following elements
-            | /FOLDER       |
+            | /FOLDER |
             | /textfile0.txt |
             | /textfile1.txt |