Using propfind instead of accessing the file system
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
This commit is contained in:
parent
456d4fce1e
commit
d1b8e58c86
|
@ -499,8 +499,8 @@ trait WebDav {
|
||||||
PHPUnit_Framework_Assert::assertEquals(1, file_exists("work/$filename"));
|
PHPUnit_Framework_Assert::assertEquals(1, file_exists("work/$filename"));
|
||||||
$this->userUploadsAFileTo($user, "work/$filename", $destination);
|
$this->userUploadsAFileTo($user, "work/$filename", $destination);
|
||||||
$this->removeFile("work/", $filename);
|
$this->removeFile("work/", $filename);
|
||||||
$userHome = $this->getUserHome($user);
|
$expectedElements = new \Behat\Gherkin\Node\TableNode([["$destination"]]);
|
||||||
PHPUnit_Framework_Assert::assertEquals(1, file_exists($userHome . "/files$destination"));
|
$this->checkElementList($user, $expectedElements);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue