diff --git a/lib/behat/form_field/behat_form_autocomplete.php b/lib/behat/form_field/behat_form_autocomplete.php index 873695a8d88..4d56560560b 100644 --- a/lib/behat/form_field/behat_form_autocomplete.php +++ b/lib/behat/form_field/behat_form_autocomplete.php @@ -45,7 +45,7 @@ class behat_form_autocomplete extends behat_form_text { */ public function set_value($value) { if (!$this->running_javascript()) { - throw new coding_exception('Setting the valid of an autocomplete field requires javascript.'); + throw new coding_exception('Setting the value of an autocomplete field requires javascript.'); } // Set the value of the autocomplete's input.