Commit f3b6b843 authored by Sergio Bertolin's avatar Sergio Bertolin
Browse files

Using propfind instead of accessing the file system

parent cd3cdf02
......@@ -467,8 +467,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);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment