Commit 6fd35788 authored by Rajesh Taneja's avatar Rajesh Taneja Committed by Andrew Nicols
Browse files

MDL-54628 behat: Rerun command now include replace option passed

parent 21188592
......@@ -303,6 +303,9 @@ if ($verbose || $status) {
unset($extraopts['fromrun']);
unset($extraopts['torun']);
$extraopts['rerun'] = '--rerun';
if (!empty($options['replace'])) {
$extraopts['replace'] = '--replace="' . $options['replace'] . '"';
}
$extraoptstr = implode(' ', $extraopts);
echo behat_command::get_behat_command(true, true, true) . " " . $extraoptstr . PHP_EOL;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment