diff options
author | Vincent Petry <pvince81@owncloud.com> | 2016-11-14 14:06:01 +0300 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2016-11-25 12:11:59 +0300 |
commit | 60cc9984e23b9006aa531b88eb712afdc117d5e6 (patch) | |
tree | a6a0147a050ecef8a1d631c142f6321038569f8f /build | |
parent | fc7abeb05d9ea63b0cd7dfb8e6a6e0c4c6f15aa3 (diff) |
Fix finding transferred folder in integration tests
Diffstat (limited to 'build')
-rw-r--r-- | build/integration/features/bootstrap/CommandLineContext.php | 2 |
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, ]; } |