Skip to content

Commit

Permalink
Fix Behat tests for gnumsections.
Browse files Browse the repository at this point in the history
  • Loading branch information
gjb2048 committed Nov 29, 2023
1 parent 6514819 commit 1dc41c2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions tests/behat/move_sections.feature
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
Expand Down
4 changes: 2 additions & 2 deletions tests/behat/sectionbreak.feature
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
Expand Down
4 changes: 2 additions & 2 deletions tests/behat/uploadimage.feature
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
Expand Down

0 comments on commit 1dc41c2

Please sign in to comment.