MDL-60548 test: Change modified lang string to get tests back to pass
authorEloy Lafuente (stronk7) <stronk7@moodle.org>
Tue, 10 Apr 2018 21:24:17 +0000 (23:24 +0200)
committerEloy Lafuente (stronk7) <stronk7@moodle.org>
Tue, 10 Apr 2018 21:24:17 +0000 (23:24 +0200)
Also modified a template example use, so there aren't courrencies
of the old string in codebase.

enrol/lti/tests/behat/basic_settings.feature
theme/boost/templates/core_form/element-select.mustache

index c203179..fe6337e 100644 (file)
@@ -40,14 +40,14 @@ Feature: Check that settings are adhered to when creating an enrolment plugin
     And the field "Timezone" matches value "Australia/Perth"
     And the field "Institution" matches value "Moodle Pty Ltd"
     And I set the following fields to these values:
-      | Email display       | Hide my email address from everyone |
-      | City/town           | Whistler                            |
-      | Select a country    | Canada                              |
-      | Timezone            | America/Vancouver                   |
-      | Institution         | Moodle Pty Ltd - remote             |
+      | Email display       | Hide my email address from non-privileged users |
+      | City/town           | Whistler                                        |
+      | Select a country    | Canada                                          |
+      | Timezone            | America/Vancouver                               |
+      | Institution         | Moodle Pty Ltd - remote                         |
     And I press "Add method"
     And I click on "Edit" "link" in the "Publish as LTI tool" "table_row"
-    And the field "Email display" matches value "Hide my email address from everyone"
+    And the field "Email display" matches value "Hide my email address from non-privileged users"
     And the field "City/town" matches value "Whistler"
     And the field "Select a country" matches value "Canada"
     And the field "Timezone" matches value "America/Vancouver"
index ac43dd8..a6a3407 100644 (file)
@@ -65,7 +65,7 @@
             "attributes": "",
             "options": [
                 {
-                    "text": "Hide my email address from everyone",
+                    "text": "Hide my email address from non-privileged users",
                     "value": 0,
                     "selected": false,
                     "disabled": false,