Using propfind instead of accessing the file system

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
This commit is contained in:
Sergio Bertolin 2016-12-22 11:35:03 +00:00 committed by Lukas Reschke
parent 456d4fce1e
commit d1b8e58c86
No known key found for this signature in database
GPG key ID: B9F6980CF6E759B1

View file

@ -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);
}
/**