Skip to content

Commit

Permalink
Upgrade: Fix a Behat test which broke von Moodle 4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
abias committed Jul 30, 2024
1 parent a79ceb1 commit 1e34685
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Changes

### Unreleased

* 2024-07-28 - Upgrade: Fix a Behat test which broke von Moodle 4.1.
* 2024-07-28 - Cleanup: Replace deprecated strftime() function with \core_date::strftime() function.
* 2024-07-28 - Prepare compatibility for Moodle 4.1.

Expand Down
6 changes: 4 additions & 2 deletions tests/behat/tool_selfsignuphardlifecycle.feature
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,8 @@ Feature: The hard life cycle for self-signup users tool allows admins to get rid
| user4 | User | 4 | user4@example.com | email | 1 | ## 201 days ago ## |
And I log in as "admin"
And I navigate to "Users > Accounts > User profile fields" in site administration
And I set the field "datatype" to "Date/Time"
And I click on "Create a new profile field" "link"
And I click on "Date/Time" "link"
And I set the following fields to these values:
| Short name (must be unique) | deletionoverride |
| Name | Deletion day |
Expand All @@ -172,7 +173,8 @@ Feature: The hard life cycle for self-signup users tool allows admins to get rid
| End year | 2050 |
| Include time? | 0 |
And I click on "Save changes" "button"
And I set the field "datatype" to "Date/Time"
And I click on "Create a new profile field" "link"
And I click on "Date/Time" "link"
And I set the following fields to these values:
| Short name (must be unique) | suspensionoverride |
| Name | Suspension day |
Expand Down

0 comments on commit 1e34685

Please sign in to comment.