diff --git a/build/integration/features/bootstrap/WebDav.php b/build/integration/features/bootstrap/WebDav.php
index 9cb9d4a304..57ca638ec7 100644
--- a/build/integration/features/bootstrap/WebDav.php
+++ b/build/integration/features/bootstrap/WebDav.php
@@ -406,32 +406,22 @@ trait WebDav {
return $response;
}
- /*Returns the elements of a report command*/
- public function reportFolder($user, $path, $properties = null){
+ /* Returns the elements of a report command
+ * @param string $user
+ * @param string $path
+ * @param string $properties properties which needs to be included in the report
+ * @param string $filterRules filter-rules to choose what needs to appear in the report
+ */
+ public function reportFolder($user, $path, $properties, $filterRules){
$client = $this->getSabreClient($user);
$body = '
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ ' . $properties . '
- 1
+ ' . $filterRules . '
';
@@ -722,7 +712,10 @@ trait WebDav {
* @param \Behat\Gherkin\Node\TableNode|null $expectedElements
*/
public function checkFavoritedElements($user, $folder, $expectedElements){
- $elementList = $this->reportFolder($user, $folder);
+ $elementList = $this->reportFolder($user,
+ $folder,
+ '',
+ '1');
if ($expectedElements instanceof \Behat\Gherkin\Node\TableNode) {
$elementRows = $expectedElements->getRows();
$elementsSimplified = $this->simplifyArray($elementRows);