Folder depth needs to be at least 3 for all tests to pass

This commit is contained in:
Roeland Jago Douma 2015-12-07 15:03:40 +01:00 committed by Sergio Bertolin
parent e72955c65d
commit 1d7a2aa9f9
1 changed files with 1 additions and 1 deletions

View File

@ -126,7 +126,7 @@ trait WebDav{
* @param \Behat\Gherkin\Node\TableNode|null $expectedElements
*/
public function checkElementList($user, $expectedElements){
$elementList = $this->listFolder($user, '/', 2);
$elementList = $this->listFolder($user, '/', 3);
if ($expectedElements instanceof \Behat\Gherkin\Node\TableNode) {
$elementRows = $expectedElements->getRows();
$elementsSimplified = $this->simplifyArray($elementRows);