diff options
author | Sergio Bertolin <sbertolin@solidgear.es> | 2016-12-22 11:35:03 +0000 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2016-12-23 12:25:20 +0100 |
commit | d1b8e58c86a7d175c4383634ee342c183ffd039c (patch) | |
tree | 054d29fbd725789c0ee6c79bbe87282e222522e5 /build | |
parent | 456d4fce1eac5b55886290bd22e5ce8537034011 (diff) | |
download | nextcloud-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.php | 4 |
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); } /** |