diff options
author | Vincent Petry <pvince81@owncloud.com> | 2016-11-14 12:06:01 +0100 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2016-12-19 17:41:11 +0100 |
commit | 322b8ba1383af8e99393cac4edc77e31d8e6e4f2 (patch) | |
tree | dd7c68ed2bc16bfd80c465dd7b4c0655fda27c54 /build | |
parent | 7b5c28ab2ae746381bf88fc59336672a20aca31d (diff) | |
download | nextcloud-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.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, ]; } |