mirror of
https://github.com/moodle/moodle.git
synced 2025-04-20 16:04:25 +02:00
MDL-80215 core: Use correct behat constant
This commit is contained in:
parent
b58d1fd4e2
commit
7b7b618b96
@ -359,7 +359,7 @@ function get_whoops(): ?\Whoops\Run {
|
||||
return null;
|
||||
}
|
||||
|
||||
if (defined('BEHAT_TEST') && BEHAT_TEST) {
|
||||
if (defined('BEHAT_SITE_RUNNING') && BEHAT_SITE_RUNNING) {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user