mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 00:12:56 +02:00
MDL-54628 behat: Rerun command now include replace option passed
This commit is contained in:
parent
2118859218
commit
6fd35788c1
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user