Fix finding transferred folder in integration tests
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
This commit is contained in:
parent
7b5c28ab2a
commit
322b8ba138
|
@ -55,7 +55,7 @@ class CommandLineContext implements \Behat\Behat\Context\Context {
|
||||||
if (isset($parts[2]) && $parts[2] === $sourceUser) {
|
if (isset($parts[2]) && $parts[2] === $sourceUser) {
|
||||||
// store timestamp as key
|
// store timestamp as key
|
||||||
$foundPaths[] = [
|
$foundPaths[] = [
|
||||||
'date' => strtotime(dirname($parts[4])),
|
'date' => strtotime(trim($parts[4], '/')),
|
||||||
'path' => $path,
|
'path' => $path,
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue