Skip to content

Commit

Permalink
Minor tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
swissspidy committed Dec 11, 2024
1 parent 8fa8a8c commit 5260bf1
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions tests/phpunit/tests/l10n/phpmailerTranslations.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ class Test_PHPMailer_Translations extends WP_UnitTestCase {
*
* @ticket 23311
*/
public function test_phpmailer_error_messages_translation_missing_recipient() {
public function test_missing_recipient_error_message_should_be_translated() {
reset_phpmailer_instance();

$is_switched = switch_to_locale( 'de_DE' );

$phpmailer = tests_retrieve_phpmailer_instance();
Expand Down Expand Up @@ -53,7 +55,9 @@ public function test_phpmailer_error_messages_translation_missing_recipient() {
*
* @ticket 23311
*/
public function test_all_phpmailer_error_message_keys_should_be_translated() {
public function test_all_error_message_keys_should_be_translated() {
reset_phpmailer_instance();

$phpmailer = new PHPMailer\PHPMailer\PHPMailer();
$wp_phpmailer = tests_retrieve_phpmailer_instance();

Expand Down

0 comments on commit 5260bf1

Please sign in to comment.