aboutsummaryrefslogtreecommitdiffstats
path: root/build/integration/features/bootstrap/WebDav.php
diff options
context:
space:
mode:
Diffstat (limited to 'build/integration/features/bootstrap/WebDav.php')
-rw-r--r--build/integration/features/bootstrap/WebDav.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/build/integration/features/bootstrap/WebDav.php b/build/integration/features/bootstrap/WebDav.php
index 57ca638ec7f..fb1a078fd94 100644
--- a/build/integration/features/bootstrap/WebDav.php
+++ b/build/integration/features/bootstrap/WebDav.php
@@ -499,7 +499,8 @@ trait WebDav {
PHPUnit_Framework_Assert::assertEquals(1, file_exists("data/$filename"));
$this->userUploadsAFileTo($user, "data/$filename", $destination);
$this->removeFile("data/", $filename);
- PHPUnit_Framework_Assert::assertEquals(1, file_exists("../../data/$user/files$destination"));
+ $userHome = $this->getUserHome($user);
+ PHPUnit_Framework_Assert::assertEquals(1, file_exists($userHome . "/files$destination"));
}
/**