From 02de82df91910ad8f206f379a5eeaee9fb332b74 Mon Sep 17 00:00:00 2001 From: Sergio Bertolin Date: Wed, 23 Nov 2016 12:02:09 +0000 Subject: [PATCH] Fixed failing problems Signed-off-by: Lukas Reschke --- build/integration/features/bootstrap/WebDav.php | 8 ++++---- build/integration/features/favorites.feature | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/build/integration/features/bootstrap/WebDav.php b/build/integration/features/bootstrap/WebDav.php index f19ae1a86e..9cb9d4a304 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' => ' + $body = ' @@ -433,11 +433,11 @@ trait WebDav { 1 - ']; + '; $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 a2ee579436..c00ed05eef 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 |