From d3cfb04e413acb8b797e773f0a55eaf8479b7b5b Mon Sep 17 00:00:00 2001 From: Alexander Bias Date: Sun, 24 Sep 2023 17:42:46 +0200 Subject: [PATCH] Test: Behat scenario 'Show hint for self enrolment without an enrolment key' was broken, solves #398. --- CHANGES.md | 1 + .../theme_boost_union_functionalitysettings_courses.feature | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGES.md b/CHANGES.md index 5e7000e9fc5..e942db5c73d 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -6,6 +6,7 @@ Changes ### Unreleased +* 2023-09-24 - Test: Behat scenario 'Show hint for self enrolment without an enrolment key' was broken, solves #398. * 2023-09-22 - Improvement: Reuse Moodle core function remove_dir(), solves #369. ### v4.2-r2 diff --git a/tests/behat/theme_boost_union_functionalitysettings_courses.feature b/tests/behat/theme_boost_union_functionalitysettings_courses.feature index 49cf290155a..7e485f2f312 100644 --- a/tests/behat/theme_boost_union_functionalitysettings_courses.feature +++ b/tests/behat/theme_boost_union_functionalitysettings_courses.feature @@ -159,7 +159,7 @@ Feature: Configuring the theme_boost_union plugin for the "Courses" tab on the " And ".course-hint-selfenrol" "css_element" should exist When I click on "Self enrolment (Student)" "link" in the ".course-hint-selfenrol" "css_element" And I set the following fields to these values: - | Allow new enrolments | 0 | + | Allow new self enrolments | 0 | And I press "Save changes" And I am on "Course 1" course homepage Then I should not see "This course is currently visible to everyone and self enrolment without an enrolment key is"