From 1dc41c2678f85c9654dd8a6fe39bd2b9248f0a9f Mon Sep 17 00:00:00 2001 From: Gareth Barnard <1058419+gjb2048@users.noreply.github.com> Date: Wed, 29 Nov 2023 21:36:11 +0000 Subject: [PATCH] Fix Behat tests for gnumsections. --- tests/behat/move_sections.feature | 4 ++-- tests/behat/sectionbreak.feature | 4 ++-- tests/behat/uploadimage.feature | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/behat/move_sections.feature b/tests/behat/move_sections.feature index 1506db48..9e018004 100644 --- a/tests/behat/move_sections.feature +++ b/tests/behat/move_sections.feature @@ -9,8 +9,8 @@ Feature: Sections can be moved - adapted from core test of the same name. | username | firstname | lastname | email | | daisy | Daisy | Grid | daisy@grid.com | And the following "courses" exist: - | fullname | shortname | format | coursedisplay | numsections | - | Grid | GD | grid | 0 | 5 | + | fullname | shortname | format | coursedisplay | gnumsections | + | Grid | GD | grid | 0 | 5 | And the following "course enrolments" exist: | user | course | role | | daisy | GD | editingteacher | diff --git a/tests/behat/sectionbreak.feature b/tests/behat/sectionbreak.feature index 32397385..312d344e 100644 --- a/tests/behat/sectionbreak.feature +++ b/tests/behat/sectionbreak.feature @@ -7,8 +7,8 @@ Feature: Section break | username | firstname | lastname | email | | daisy | Daisy | Grid | daisy@grid.com | And the following "courses" exist: - | fullname | shortname | format | numsections | - | Grid | GD | grid | 10 | + | fullname | shortname | format | gnumsections | + | Grid | GD | grid | 10 | And the following "course enrolments" exist: | user | course | role | | daisy | GD | editingteacher | diff --git a/tests/behat/uploadimage.feature b/tests/behat/uploadimage.feature index abf9b30e..d07f8f67 100644 --- a/tests/behat/uploadimage.feature +++ b/tests/behat/uploadimage.feature @@ -7,8 +7,8 @@ Feature: Image upload | username | firstname | lastname | email | | daisy | Daisy | Grid | daisy@grid.com | And the following "courses" exist: - | fullname | shortname | format | numsections | - | Grid | GD | grid | 5 | + | fullname | shortname | format | gnumsections | + | Grid | GD | grid | 5 | And the following "course enrolments" exist: | user | course | role | | daisy | GD | editingteacher |