Skip to content

Commit

Permalink
MDL-53193 tool_lp: Singularise 'userevidence' term
Browse files Browse the repository at this point in the history
  • Loading branch information
Frederic Massart committed Apr 18, 2016
1 parent 893f486 commit 9157252
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion admin/tool/lp/lang/en/tool_lp.php
Expand Up @@ -379,7 +379,7 @@
$string['userevidencedescription'] = 'Description';
$string['userevidencefiles'] = 'Files';
$string['userevidencename'] = 'Name';
$string['userevidencesummary'] = 'Summary';
$string['userevidenceummary'] = 'Summary';
$string['userevidenceupdated'] = 'Evidence of prior learning updated';
$string['userevidenceurl'] = 'URL';
$string['userplans'] = 'User plans';
Expand Down
2 changes: 1 addition & 1 deletion admin/tool/lp/templates/user_evidence_list_page.mustache
Expand Up @@ -39,7 +39,7 @@
<thead>
<tr>
<th scope="col" width="20%">{{#str}}userevidencename, tool_lp{{/str}}</th>
<th scope="col">{{#str}}userevidencesummary, tool_lp{{/str}}</th>
<th scope="col">{{#str}}userevidenceummary, tool_lp{{/str}}</th>
<th scope="col">{{#str}}linkedcompetencies, tool_lp{{/str}}</th>
{{#canmanage}}
<th scope="col">{{#str}}actions, tool_lp{{/str}}</th>
Expand Down
Expand Up @@ -68,7 +68,7 @@ class behat_tool_lp_data_generators extends behat_base {
'datagenerator' => 'competency',
'required' => array('framework')
),
'userevidences' => array(
'userevidence' => array(
'datagenerator' => 'user_evidence',
'required' => array('user')
)
Expand Down
8 changes: 4 additions & 4 deletions admin/tool/lp/tests/behat/user_evidence_crud.feature
Expand Up @@ -25,7 +25,7 @@ Feature: Manage evidence of prior learning
And I should see "Evidence-1"

Scenario: Read an evidence of prior learning
Given the following lp "userevidences" exist:
Given the following lp "userevidence" exist:
| name | description | user |
| Evidence-2 | Evidence-2 description | user1 |
And I follow "Evidence of prior learning"
Expand All @@ -35,7 +35,7 @@ Feature: Manage evidence of prior learning
Then I should see "Evidence-2"

Scenario: Edit an evidence of prior learning
Given the following lp "userevidences" exist:
Given the following lp "userevidence" exist:
| name | description | user |
| Evidence-3 | Evidence-3 description | user1 |
And I follow "Evidence of prior learning"
Expand All @@ -49,7 +49,7 @@ Feature: Manage evidence of prior learning
And I should see "Evidence-3 Edited"

Scenario: Delete an evidence of prior learning
Given the following lp "userevidences" exist:
Given the following lp "userevidence" exist:
| name | description | user |
| Evidence-4 | Evidence-4 description | user1 |
And I follow "Evidence of prior learning"
Expand All @@ -66,7 +66,7 @@ Feature: Manage evidence of prior learning
Given the following "users" exist:
| username | firstname | lastname | email |
|user2 | User | 2 | user2@example.com |
And the following lp "userevidences" exist:
And the following lp "userevidence" exist:
| name | description | user |
| Evidence-5 | Evidence-5 description | user1 |
| Evidence-6 | Evidence-6 description | user2 |
Expand Down

0 comments on commit 9157252

Please sign in to comment.