mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
MDL-66979 behat: Warn about old behat.yml file location
This commit is contained in:
parent
19db0c4b44
commit
0bac7faf90
2 changed files with 6 additions and 1 deletions
|
@ -179,7 +179,11 @@ class behat_command {
|
|||
}
|
||||
|
||||
// Behat test command.
|
||||
list($output, $code) = self::run(' --help');
|
||||
$dirrootconfigpath = $CFG->dirroot . DIRECTORY_SEPARATOR . 'behat.yml';
|
||||
if (file_exists($dirrootconfigpath)) {
|
||||
self::output_msg(get_string('warndirrootconfigfound', 'tool_behat', $dirrootconfigpath));
|
||||
}
|
||||
list($output, $code) = self::run(" --help");
|
||||
|
||||
if ($code != 0) {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue