From 0bd971ebc096cf7de6ce2cad76e2b58cb3a9efba Mon Sep 17 00:00:00 2001 From: Andrew Nicols Date: Fri, 13 Nov 2020 14:20:57 +0800 Subject: [PATCH] MDL-66979 behat: availability field extends textarea The availability behat field extends the textarea type, and therefore needs to include this type. --- lib/behat/form_field/behat_form_availability.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/behat/form_field/behat_form_availability.php b/lib/behat/form_field/behat_form_availability.php index 54f38fd3ed6..fb9c7eedd50 100644 --- a/lib/behat/form_field/behat_form_availability.php +++ b/lib/behat/form_field/behat_form_availability.php @@ -25,7 +25,7 @@ // NOTE: no MOODLE_INTERNAL test here, this file may be required by behat before including /config.php. -require_once(__DIR__ . '/behat_form_field.php'); +require_once(__DIR__ . '/behat_form_textarea.php'); /** * Availability form field class.