mirror of
https://github.com/moodle/moodle.git
synced 2025-04-14 04:52:36 +02:00
MDL-64509 lang: Use the fixed strings in tests
This commit is contained in:
parent
65d70aa81b
commit
a92458880c
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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());
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user