MDL-64509 lang: Use the fixed strings in tests

This commit is contained in:
David Mudrák 2019-01-07 14:43:23 +01:00
parent 65d70aa81b
commit a92458880c
3 changed files with 3 additions and 3 deletions

View File

@ -32,7 +32,7 @@ Feature: I need to export grades as text
When I navigate to "Export > Plain text file" in the course gradebook
And I expand all fieldsets
And I click on "Course total" "checkbox"
And I set the field "Grade export decimal points" to "1"
And I set the field "Grade export decimal places" to "1"
And I press "Download"
Then I should see "Student,1"
And I should see "80.0"

View File

@ -30,7 +30,7 @@ Feature: I need to export grades as xml
Scenario: Export grades as text
When I navigate to "Export > XML file" in the course gradebook
And I expand all fieldsets
And I set the field "Grade export decimal points" to "1"
And I set the field "Grade export decimal places" to "1"
And I press "Download"
Then I should see "s1"
And I should see "a1"

View File

@ -163,7 +163,7 @@ class core_tag_external_testcase extends externallib_advanced_testcase {
core_external::update_inplace_editable('core_tag', 'tagname', $tag->id, 'new tag name');
$this->fail('Exception expected');
} catch (moodle_exception $e) {
$this->assertEquals('Sorry, but you do not currently have permissions to do that (Manage all tags)',
$this->assertEquals('Sorry, but you do not currently have permissions to do that (Manage all tags).',
$e->getMessage());
}