Skip to content

Commit ca8591d

Browse files
[auto-generated] Update plugin files
Check out the commits that caused these changes: moodlehq/moodleapp@a1dc1ec...105f283
1 parent a77b877 commit ca8591d

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

tests/behat/behat_app.php

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1012,4 +1012,22 @@ public function close_notification_app(string $title) {
10121012
return true;
10131013
}
10141014

1015+
/**
1016+
* View a specific month in the calendar in the app.
1017+
*
1018+
* @When /^I open the calendar for "(?P<month>\d+)" "(?P<year>\d+)" in the app$/
1019+
* @param int $month the month selected as a number
1020+
* @param int $year the four digit year
1021+
*/
1022+
public function i_open_the_calendar_for($month, $year) {
1023+
$options = json_encode([
1024+
'params' => [
1025+
'month' => $month,
1026+
'year' => $year,
1027+
],
1028+
]);
1029+
1030+
$this->zone_js("navigator.navigateToSitePath('/calendar/index', $options)");
1031+
}
1032+
10151033
}

version.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
defined('MOODLE_INTERNAL') || die;
88

9-
$plugin->version = 2022111400;
9+
$plugin->version = 2022111600;
1010
$plugin->requires = 2016052300;
1111
$plugin->maturity = MATURITY_STABLE;
1212
$plugin->release = '4.1.0-dev';

0 commit comments

Comments
 (0)