Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2016-11-14 14:06:01 +0300
committerVincent Petry <pvince81@owncloud.com>2016-11-25 12:11:59 +0300
commit60cc9984e23b9006aa531b88eb712afdc117d5e6 (patch)
treea6a0147a050ecef8a1d631c142f6321038569f8f /build
parentfc7abeb05d9ea63b0cd7dfb8e6a6e0c4c6f15aa3 (diff)
Fix finding transferred folder in integration tests
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,
];
}