Skip to content

Commit

Permalink
MDL-61223 course: keep some tests using old values (January 1st 1970)
Browse files Browse the repository at this point in the history
  • Loading branch information
stronk7 committed Apr 2, 2018
1 parent f070d26 commit 5d4d21a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions course/tests/behat/course_controls.feature
Expand Up @@ -21,8 +21,8 @@ Feature: Course activity controls works as expected
| username | firstname | lastname | email |
| teacher1 | Teacher | 1 | teacher1@example.com |
And the following "courses" exist:
| fullname | shortname | format | coursedisplay | numsections |
| Course 1 | C1 | <courseformat> | <coursedisplay> | 5 |
| fullname | shortname | format | coursedisplay | numsections | startdate |
| Course 1 | C1 | <courseformat> | <coursedisplay> | 5 | 0 |
And the following "course enrolments" exist:
| user | course | role |
| teacher1 | C1 | editingteacher |
Expand Down Expand Up @@ -93,8 +93,8 @@ Feature: Course activity controls works as expected
| username | firstname | lastname | email |
| teacher1 | Teacher | 1 | teacher1@example.com |
And the following "courses" exist:
| fullname | shortname | format | coursedisplay | numsections |
| Course 1 | C1 | <courseformat> | <coursedisplay> | 5 |
| fullname | shortname | format | coursedisplay | numsections | startdate |
| Course 1 | C1 | <courseformat> | <coursedisplay> | 5 | 0 |
And the following "course enrolments" exist:
| user | course | role |
| teacher1 | C1 | editingteacher |
Expand Down
8 changes: 4 additions & 4 deletions course/tests/behat/paged_course_navigation.feature
Expand Up @@ -7,8 +7,8 @@ Feature: Course paged mode
@javascript @_cross_browser
Scenario Outline: Weekly and topics course formats with Javascript enabled
Given the following "courses" exist:
| fullname | shortname | category | format | coursedisplay | numsections |
| Course 1 | C1 | 0 | <courseformat> | 1 | 3 |
| fullname | shortname | category | format | coursedisplay | numsections | startdate |
| Course 1 | C1 | 0 | <courseformat> | 1 | 3 | 0 |
And I log in as "admin"
And I am on "Course 1" course homepage
Then I click on <section2> "link" in the <section2> "section"
Expand Down Expand Up @@ -40,8 +40,8 @@ Feature: Course paged mode

Scenario Outline: Weekly and topics course formats with Javascript disabled
Given the following "courses" exist:
| fullname | shortname | category | format | coursedisplay | numsections |
| Course 1 | C1 | 0 | <courseformat> | 1 | 3 |
| fullname | shortname | category | format | coursedisplay | numsections | startdate |
| Course 1 | C1 | 0 | <courseformat> | 1 | 3 | 0 |
And I log in as "admin"
And I am on "Course 1" course homepage
Then I click on <section2> "link" in the <section2> "section"
Expand Down

0 comments on commit 5d4d21a

Please sign in to comment.