Skip to content

Commit

Permalink
MDL-64509 lang: Use the fixed strings in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mudrd8mz committed Jan 7, 2019
1 parent 65d70aa commit a924588
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion grade/export/txt/tests/behat/export.feature
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion grade/export/xml/tests/behat/export.feature
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion tag/tests/external_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ public function test_update_inplace_editable() {
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());
}

Expand Down

0 comments on commit a924588

Please sign in to comment.