Skip to content

Commit

Permalink
MDL-68753 lang: Use the updated strings in the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mudrd8mz committed May 27, 2020
1 parent 026a12e commit c47b174
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion contentbank/tests/behat/sort_content.feature
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Feature: Sort content in the content bank
And I add the "Navigation" block if not present
And I expand "Site pages" node
And I click on "Content bank" "link"
When I click on "Display contentbank with file details" "button"
When I click on "Display content bank with file details" "button"
And I click on "Sort by Content name ascending" "button"
And "Dragon_santjordi.h5p" "text" should appear before "historybook.h5p" "text"
And "historybook.h5p" "text" should appear before "mathsbook.h5p" "text"
Expand Down
10 changes: 5 additions & 5 deletions mod/quiz/accessrule/seb/tests/behat/edit_form.feature
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Feature: Safe Exam Browser settings in quiz edit form
Then I should not see "Show Safe Exam Browser download button"
Then I should not see "Enable quitting of SEB"
Then I should not see "Quit password"
Then I should not see "Allowed Browser Exam Keys"
Then I should not see "Allowed browser exam keys"
Then I should not see "Show Exit Safe Exam Browser button, configured with this quit link"
Then I should not see "Ask user to confirm quitting"
Then I should not see "Enable reload in exam"
Expand All @@ -70,7 +70,7 @@ Feature: Safe Exam Browser settings in quiz edit form
And I expand all fieldsets
And I set the field "Require the use of Safe Exam Browser" to "Yes – Use SEB client config"
Then I should see "Show Safe Exam Browser download button"
Then I should see "Allowed Browser Exam Keys"
Then I should see "Allowed browser exam keys"
Then I should not see "Upload Safe Exam Browser config file"
Then I should not see "Safe Exam Browser config template"
Then I should not see "Template 1"
Expand Down Expand Up @@ -105,7 +105,7 @@ Feature: Safe Exam Browser settings in quiz edit form
Then I should see "Show Safe Exam Browser download button"
Then I should not see "Enable quitting of SEB"
Then I should not see "Quit password"
Then I should see "Allowed Browser Exam Keys"
Then I should see "Allowed browser exam keys"
Then I should not see "Show Exit Safe Exam Browser button, configured with this quit link"
Then I should not see "Ask user to confirm quitting"
Then I should not see "Enable reload in exam"
Expand Down Expand Up @@ -138,7 +138,7 @@ Feature: Safe Exam Browser settings in quiz edit form
Then I should see "Show Safe Exam Browser download button"
Then I should see "Enable quitting of SEB"
Then I should see "Quit password"
Then I should not see "Allowed Browser Exam Keys"
Then I should not see "Allowed browser exam keys"
Then I should not see "Upload Safe Exam Browser config file"
Then I should not see "Show Exit Safe Exam Browser button, configured with this quit link"
Then I should not see "Ask user to confirm quitting"
Expand Down Expand Up @@ -203,6 +203,6 @@ Feature: Safe Exam Browser settings in quiz edit form
Then I should see "Expressions blocked"
Then I should see "Regex blocked"
Then I should not see "Upload Safe Exam Browser config file"
Then I should not see "Allowed Browser Exam Keys"
Then I should not see "Allowed browser exam keys"
Then I should not see "Safe Exam Browser config template"
Then I should not see "Template 1"
2 changes: 1 addition & 1 deletion mod/quiz/accessrule/seb/tests/event_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ public function test_event_create_template() {

// Test that the event data is as expected.
$this->assertInstanceOf('\quizaccess_seb\event\template_created', $event);
$this->assertEquals('SEB Template was created', $event->get_name());
$this->assertEquals('SEB template was created', $event->get_name());
$this->assertEquals(
"The user with id '$user->id' has created a template with id '{$template->get('id')}'.",
$event->get_description()
Expand Down
2 changes: 1 addition & 1 deletion mod/quiz/accessrule/seb/tests/rule_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -751,7 +751,7 @@ public function test_access_prevented_if_using_client_configuration_and_basic_he

// Test that the event data is as expected.
$this->assertInstanceOf('\quizaccess_seb\event\access_prevented', $event);
$this->assertEquals('No SEB browser is being used', $event->other['reason']);
$this->assertEquals('No Safe Exam Browser is being used.', $event->other['reason']);
}

/**
Expand Down

0 comments on commit c47b174

Please sign in to comment.