mirror of
https://github.com/moodle/moodle.git
synced 2025-08-10 11:26:41 +02:00
MDL-70964 lang: Use the fixed strings in tests
This commit is contained in:
parent
422e70e308
commit
0c9eaeff59
6 changed files with 12 additions and 12 deletions
|
@ -79,7 +79,7 @@ Feature: Restricting access to course lists
|
|||
And I should not see "Humanities"
|
||||
And I should not see "Other category"
|
||||
And I follow "English Y2"
|
||||
And I should see "You can not enrol yourself in this course."
|
||||
And I should see "You cannot enrol yourself in this course."
|
||||
And I log out
|
||||
|
||||
Scenario: Browse courses as a user who has access to several but not all categories
|
||||
|
@ -102,5 +102,5 @@ Feature: Restricting access to course lists
|
|||
And the "Course categories" select box should contain "English category"
|
||||
And the "Course categories" select box should not contain "Other category"
|
||||
And I follow "Biology Y1"
|
||||
And I should see "You can not enrol yourself in this course."
|
||||
And I should see "You cannot enrol yourself in this course."
|
||||
And I log out
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue