From ca8591d6b2cd5ce9a7d460a692d7f0ed342f28d9 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 16 Nov 2022 15:28:38 +0000 Subject: [PATCH] [auto-generated] Update plugin files Check out the commits that caused these changes: https://github.com/moodlehq/moodleapp/compare/a1dc1ec631a3076718284c7abde1fec60264a497...105f283559f1a7a9a62cc2d43e89d5ff2f812e9b --- tests/behat/behat_app.php | 18 ++++++++++++++++++ version.php | 2 +- 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/tests/behat/behat_app.php b/tests/behat/behat_app.php index 0b09375..a5af4a3 100644 --- a/tests/behat/behat_app.php +++ b/tests/behat/behat_app.php @@ -1012,4 +1012,22 @@ public function close_notification_app(string $title) { return true; } + /** + * View a specific month in the calendar in the app. + * + * @When /^I open the calendar for "(?P\d+)" "(?P\d+)" in the app$/ + * @param int $month the month selected as a number + * @param int $year the four digit year + */ + public function i_open_the_calendar_for($month, $year) { + $options = json_encode([ + 'params' => [ + 'month' => $month, + 'year' => $year, + ], + ]); + + $this->zone_js("navigator.navigateToSitePath('/calendar/index', $options)"); + } + } diff --git a/version.php b/version.php index 57ed865..17c37ad 100644 --- a/version.php +++ b/version.php @@ -6,7 +6,7 @@ defined('MOODLE_INTERNAL') || die; -$plugin->version = 2022111400; +$plugin->version = 2022111600; $plugin->requires = 2016052300; $plugin->maturity = MATURITY_STABLE; $plugin->release = '4.1.0-dev';