diff --git a/mod/forum/tests/behat/behat_mod_forum.php b/mod/forum/tests/behat/behat_mod_forum.php index 3a8cd701f23..c5c244bbbbe 100644 --- a/mod/forum/tests/behat/behat_mod_forum.php +++ b/mod/forum/tests/behat/behat_mod_forum.php @@ -96,7 +96,7 @@ class behat_mod_forum extends behat_base { // Navigate to forum. $this->execute('behat_general::click_link', $this->escape($forumname)); - $this->execute('behat_forms::press_button', $buttonstr); + $this->execute('behat_general::click_link', $buttonstr); // Fill form and post. $this->execute('behat_forms::i_set_the_following_fields_to_these_values', $table);