aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);
}
/**