MDL-80151 behat: Improve viewing site calendar step

This commit is contained in:
Huong Nguyen 2023-12-20 14:54:38 +07:00 committed by Simey Lameze
parent 3b8b8d7d84
commit dd2c19eb09

View File

@ -176,8 +176,7 @@ class behat_calendar extends behat_base {
* @return void
*/
public function i_am_viewing_site_calendar() {
$url = new moodle_url('/calendar/view.php', ['view' => 'month']);
$this->execute('behat_general::i_visit', [$url]);
$this->i_am_viewing_calendar_in_view('month');
}
/**