summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorSergio Bertolin <sbertolin@solidgear.es>2016-12-22 11:35:03 +0000
committerLukas Reschke <lukas@statuscode.ch>2016-12-23 12:25:20 +0100
commitd1b8e58c86a7d175c4383634ee342c183ffd039c (patch)
tree054d29fbd725789c0ee6c79bbe87282e222522e5 /build
parent456d4fce1eac5b55886290bd22e5ce8537034011 (diff)
downloadnextcloud-server-d1b8e58c86a7d175c4383634ee342c183ffd039c.tar.gz
nextcloud-server-d1b8e58c86a7d175c4383634ee342c183ffd039c.zip
Using propfind instead of accessing the file system
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
Diffstat (limited to 'build')
-rw-r--r--build/integration/features/bootstrap/WebDav.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/build/integration/features/bootstrap/WebDav.php b/build/integration/features/bootstrap/WebDav.php
index e0a80c7f525..680d8f96e7c 100644
--- a/build/integration/features/bootstrap/WebDav.php
+++ b/build/integration/features/bootstrap/WebDav.php
@@ -499,8 +499,8 @@ trait WebDav {
PHPUnit_Framework_Assert::assertEquals(1, file_exists("work/$filename"));
$this->userUploadsAFileTo($user, "work/$filename", $destination);
$this->removeFile("work/", $filename);
- $userHome = $this->getUserHome($user);
- PHPUnit_Framework_Assert::assertEquals(1, file_exists($userHome . "/files$destination"));
+ $expectedElements = new \Behat\Gherkin\Node\TableNode([["$destination"]]);
+ $this->checkElementList($user, $expectedElements);
}
/**