summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2016-11-14 12:06:01 +0100
committerLukas Reschke <lukas@statuscode.ch>2016-12-19 17:41:11 +0100
commit322b8ba1383af8e99393cac4edc77e31d8e6e4f2 (patch)
treedd7c68ed2bc16bfd80c465dd7b4c0655fda27c54 /build
parent7b5c28ab2ae746381bf88fc59336672a20aca31d (diff)
downloadnextcloud-server-322b8ba1383af8e99393cac4edc77e31d8e6e4f2.tar.gz
nextcloud-server-322b8ba1383af8e99393cac4edc77e31d8e6e4f2.zip
Fix finding transferred folder in integration tests
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
Diffstat (limited to 'build')
-rw-r--r--build/integration/features/bootstrap/CommandLineContext.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/integration/features/bootstrap/CommandLineContext.php b/build/integration/features/bootstrap/CommandLineContext.php
index 374a14410bf..95f492a62db 100644
--- a/build/integration/features/bootstrap/CommandLineContext.php
+++ b/build/integration/features/bootstrap/CommandLineContext.php
@@ -55,7 +55,7 @@ class CommandLineContext implements \Behat\Behat\Context\Context {
if (isset($parts[2]) && $parts[2] === $sourceUser) {
// store timestamp as key
$foundPaths[] = [
- 'date' => strtotime(dirname($parts[4])),
+ 'date' => strtotime(trim($parts[4], '/')),
'path' => $path,
];
}