diff --git a/local_moodleappbehat/tests/behat/behat_app.php b/local_moodleappbehat/tests/behat/behat_app.php index 67776a49f..326986838 100644 --- a/local_moodleappbehat/tests/behat/behat_app.php +++ b/local_moodleappbehat/tests/behat/behat_app.php @@ -765,7 +765,7 @@ class behat_app extends behat_app_helper { $result = $this->runtime_js("setField('$field', '$value')"); if ($result !== 'OK') { - throw new DriverException('Error setting field - ' . $result); + throw new DriverException('Error setting field "' . $field . '" - ' . $result); } return true;