MDL-80151 behat: Improve viewing site calendar step

This commit is contained in:
Huong Nguyen
2023-12-20 16:32:38 +08:00
committed by Simey Lameze
parent 56eb910aed
commit eae457d10d
+1 -2
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');
}
/**