forked from moodle/moodle
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MDL-76739 lang: Use the fixed strings in the tests, too
- Loading branch information
1 parent
975a127
commit 50ba9dc
Showing
30 changed files
with
120 additions
and
120 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,7 +19,7 @@ Feature: User must accept policy managed by this plugin when logging in and sign | |
| Email address | user1@address.invalid | | ||
| Email (again) | user1@address.invalid | | ||
| First name | User1 | | ||
| Surname | L1 | | ||
| Last name | L1 | | ||
And I press "Create my new account" | ||
And I should see "Confirm your account" | ||
And I should see "An email should have been sent to your address at [email protected]" | ||
|
@@ -53,7 +53,7 @@ Feature: User must accept policy managed by this plugin when logging in and sign | |
| Email address | user1@address.invalid | | ||
| Email (again) | user1@address.invalid | | ||
| First name | User1 | | ||
| Surname | L1 | | ||
| Last name | L1 | | ||
And I press "Create my new account" | ||
And I should see "Confirm your account" | ||
And I should see "An email should have been sent to your address at [email protected]" | ||
|
@@ -98,7 +98,7 @@ Feature: User must accept policy managed by this plugin when logging in and sign | |
| Email address | user1@address.invalid | | ||
| Email (again) | user1@address.invalid | | ||
| First name | User1 | | ||
| Surname | L1 | | ||
| Last name | L1 | | ||
And I press "Create my new account" | ||
And I should see "Confirm your account" | ||
And I should see "An email should have been sent to your address at [email protected]" | ||
|
@@ -157,7 +157,7 @@ Feature: User must accept policy managed by this plugin when logging in and sign | |
| Email address | user1@address.invalid | | ||
| Email (again) | user1@address.invalid | | ||
| First name | User1 | | ||
| Surname | L1 | | ||
| Last name | L1 | | ||
And I press "Create my new account" | ||
And I should see "Confirm your account" | ||
And I should see "An email should have been sent to your address at [email protected]" | ||
|
@@ -210,7 +210,7 @@ Feature: User must accept policy managed by this plugin when logging in and sign | |
| Email address | user1@address.invalid | | ||
| Email (again) | user1@address.invalid | | ||
| First name | User1 | | ||
| Surname | L1 | | ||
| Last name | L1 | | ||
And I press "Create my new account" | ||
And I should see "Confirm your account" | ||
And I should see "An email should have been sent to your address at [email protected]" | ||
|
@@ -522,7 +522,7 @@ Feature: User must accept policy managed by this plugin when logging in and sign | |
| Email address | user1@address.invalid | | ||
| Email (again) | user1@address.invalid | | ||
| First name | User1 | | ||
| Surname | L1 | | ||
| Last name | L1 | | ||
When I press "Create my new account" | ||
Then I should see "Confirm your account" | ||
And I should see "An email should have been sent to your address at [email protected]" | ||
|
@@ -647,7 +647,7 @@ Feature: User must accept policy managed by this plugin when logging in and sign | |
| Email address | user1@address.invalid | | ||
| Email (again) | user1@address.invalid | | ||
| First name | User1 | | ||
| Surname | L1 | | ||
| Last name | L1 | | ||
And I press "Create my new account" | ||
And I should see "Confirm your account" | ||
And I should see "An email should have been sent to your address at [email protected]" | ||
|
@@ -716,7 +716,7 @@ Feature: User must accept policy managed by this plugin when logging in and sign | |
| Email address | user1@address.invalid | | ||
| Email (again) | user1@address.invalid | | ||
| First name | User1 | | ||
| Surname | L1 | | ||
| Last name | L1 | | ||
And I press "Create my new account" | ||
And I should see "Confirm your account" | ||
And I should see "An email should have been sent to your address at [email protected]" | ||
|
@@ -858,7 +858,7 @@ Feature: User must accept policy managed by this plugin when logging in and sign | |
| Email address | user1@address.invalid | | ||
| Email (again) | user1@address.invalid | | ||
| First name | User1 | | ||
| Surname | L1 | | ||
| Last name | L1 | | ||
And I press "Create my new account" | ||
And I should see "Confirm your account" | ||
And I should see "An email should have been sent to your address at [email protected]" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -86,7 +86,7 @@ Feature: Optional policies | |
| Email address | user3@address.invalid | | ||
| Email (again) | user3@address.invalid | | ||
| First name | User3 | | ||
| Surname | L3 | | ||
| Last name | L3 | | ||
And I press "Create my new account" | ||
And I should see "Confirm your account" | ||
And I should see "An email should have been sent to your address at [email protected]" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,7 +18,7 @@ Feature: User must accept policy when logging in and signing up | |
| Email address | user1@address.invalid | | ||
| Email (again) | user1@address.invalid | | ||
| First name | User1 | | ||
| Surname | L1 | | ||
| Last name | L1 | | ||
And I press "Create my new account" | ||
And I should see "Confirm your account" | ||
And I should see "An email should have been sent to your address at [email protected]" | ||
|
@@ -48,7 +48,7 @@ Feature: User must accept policy when logging in and signing up | |
| Email address | user1@address.invalid | | ||
| Email (again) | user1@address.invalid | | ||
| First name | User1 | | ||
| Surname | L1 | | ||
| Last name | L1 | | ||
| I understand and agree | 1 | | ||
And I press "Create my new account" | ||
And I should see "Confirm your account" | ||
|
@@ -81,7 +81,7 @@ Feature: User must accept policy when logging in and signing up | |
| Email address | <email1> | | ||
| Email (again) | <email2> | | ||
| First name | Jane | | ||
| Surname | Doe | | ||
| Last name | Doe | | ||
And I press "Create my new account" | ||
Then I should <expect> "This email address is already registered. Perhaps you created an account in the past?" | ||
And I should <expect2> "Invalid email address" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,17 +34,17 @@ | |
class load_data_test extends \grade_base_testcase { | ||
|
||
/** @var string $oktext Text to be imported. This data should have no issues being imported. */ | ||
protected $oktext = '"First name",Surname,"ID number",Institution,Department,"Email address","Assignment: Assignment for grape group", "Feedback: Assignment for grape group","Assignment: Second new grade item","Course total" | ||
protected $oktext = '"First name","Last name","ID number",Institution,Department,"Email address","Assignment: Assignment for grape group", "Feedback: Assignment for grape group","Assignment: Second new grade item","Course total" | ||
Anne,Able,,"Moodle HQ","Rock on!",[email protected],56.00,"We welcome feedback",,56.00 | ||
Bobby,Bunce,,"Moodle HQ","Rock on!",[email protected],75.00,,45.0,75.00'; | ||
|
||
/** @var string $badtext Text to be imported. This data has an extra column and should not succeed in being imported. */ | ||
protected $badtext = '"First name",Surname,"ID number",Institution,Department,"Email address","Assignment: Assignment for grape group","Course total" | ||
protected $badtext = '"First name","Last name","ID number",Institution,Department,"Email address","Assignment: Assignment for grape group","Course total" | ||
Anne,Able,,"Moodle HQ","Rock on!",[email protected],56.00,56.00,78.00 | ||
Bobby,Bunce,,"Moodle HQ","Rock on!",[email protected],75.00,75.00'; | ||
|
||
/** @var string $csvtext CSV data to be imported with Last download from this course column. */ | ||
protected $csvtext = '"First name",Surname,"ID number",Institution,Department,"Email address","Assignment: Assignment for grape group", "Feedback: Assignment for grape group","Course total","Last downloaded from this course" | ||
protected $csvtext = '"First name","Last name","ID number",Institution,Department,"Email address","Assignment: Assignment for grape group", "Feedback: Assignment for grape group","Course total","Last downloaded from this course" | ||
Anne,Able,,"Moodle HQ","Rock on!",[email protected],56.00,"We welcome feedback",56.00,{exportdate} | ||
Bobby,Bunce,,"Moodle HQ","Rock on!",[email protected],75.00,,75.00,{exportdate}'; | ||
|
||
|
@@ -121,7 +121,7 @@ public function test_load_csv_content() { | |
|
||
$expectedheaders = array( | ||
'First name', | ||
'Surname', | ||
'Last name', | ||
'ID number', | ||
'Institution', | ||
'Department', | ||
|
Oops, something went wrong.