Closed
Description
We cannot run tests that are [relative:+5seconds]
because of the way relative dates are created in the DateTrait
https://github.com/drevops/behat-steps/blob/main/src/DateTrait.php#L90
Currently:
$now = $now ?: strtotime(date('Y-m-d H:i:00', time()));
Should be:
$now = $now ?: strtotime(date('Y-m-d H:i:s', time()));
There might be a reason behind this that I am not aware - but happy to create a PR if its ok to change.
Metadata
Metadata
Assignees
Labels
No labels