Skip to content

Commit

Permalink
MDL-80151 behat: Improve viewing site calendar step
Browse files Browse the repository at this point in the history
  • Loading branch information
HuongNV13 authored and lameze committed Dec 20, 2023
1 parent 56eb910 commit eae457d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions calendar/tests/behat/behat_calendar.php
Expand Up @@ -176,8 +176,7 @@ private function view_the_calendar(string $type, int $day, int $month, int $year
* @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');
}

/**
Expand Down

0 comments on commit eae457d

Please sign in to comment.