diff --git a/grade/export/txt/tests/behat/export.feature b/grade/export/txt/tests/behat/export.feature index 1965c9acdf5..5fee9485885 100644 --- a/grade/export/txt/tests/behat/export.feature +++ b/grade/export/txt/tests/behat/export.feature @@ -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" diff --git a/grade/export/xml/tests/behat/export.feature b/grade/export/xml/tests/behat/export.feature index d1ca5aacdee..38f6d78b42f 100644 --- a/grade/export/xml/tests/behat/export.feature +++ b/grade/export/xml/tests/behat/export.feature @@ -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" diff --git a/tag/tests/external_test.php b/tag/tests/external_test.php index 33a6c886fde..c451d6987ec 100644 --- a/tag/tests/external_test.php +++ b/tag/tests/external_test.php @@ -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()); }