From 322b8ba1383af8e99393cac4edc77e31d8e6e4f2 Mon Sep 17 00:00:00 2001 From: Vincent Petry Date: Mon, 14 Nov 2016 12:06:01 +0100 Subject: 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(-) (limited to 'build') 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, ]; } -- cgit v1.2.3