MDL-48860 behat: fix matching select human-readable value

This is a selective back-port of a small part of MDL-43835.
This commit is contained in:
Tim Hunt
2015-01-15 12:37:16 +00:00
parent 146c80d338
commit da36d32ef7
+1 -1
View File
@@ -278,7 +278,7 @@ class behat_form_select extends behat_form_field {
*/
protected function get_selected_options($returntexts = true) {
$method = 'getText';
$method = 'getHtml';
if ($returntexts === false) {
$method = 'getValue';
}