From 150f8c26001b35053b70268994dafea0c74403c9 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 --- 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 374a14410bfd..95f492a62dbe 100644 --- a/build/integration/features/bootstrap/CommandLineContext.php +++ b/build/integration/features/bootstrap/CommandLineContext.php @@ -55,7 +55,7 @@ private function findLastTransferFolderForUser($sourceUser, $targetUser) { if (isset($parts[2]) && $parts[2] === $sourceUser) { // store timestamp as key $foundPaths[] = [ - 'date' => strtotime(dirname($parts[4])), + 'date' => strtotime(trim($parts[4], '/')), 'path' => $path, ]; }