From 322b8ba1383af8e99393cac4edc77e31d8e6e4f2 Mon Sep 17 00:00:00 2001 From: Vincent Petry Date: Mon, 14 Nov 2016 12:06:01 +0100 Subject: [PATCH] Fix finding transferred folder in integration tests Signed-off-by: Lukas Reschke --- build/integration/features/bootstrap/CommandLineContext.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/integration/features/bootstrap/CommandLineContext.php b/build/integration/features/bootstrap/CommandLineContext.php index 374a14410b..95f492a62d 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, ]; }