Fix finding transferred folder in integration tests

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
This commit is contained in:
Vincent Petry 2016-11-14 12:06:01 +01:00 committed by Lukas Reschke
parent 7b5c28ab2a
commit 322b8ba138
No known key found for this signature in database
GPG Key ID: B9F6980CF6E759B1
1 changed files with 1 additions and 1 deletions

View File

@ -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,
];
}