mirror of
https://github.com/PHPMailer/PHPMailer.git
synced 2024-09-20 10:02:14 +02:00
913fb552ab
So far, the methods related to text localization - `PHPMailer::setLanguage()`, `PHPMailer::getTranslations()` and `PHPMailer::lang()` - did not have dedicated tests. The test file this commit introduces, tests all aspects of these methods, including the changes introduced in response to 2418 and 2419, as well as documents the current behaviour of the methods for specific, outlier situations.
10 lines
174 B
PHP
10 lines
174 B
PHP
<?php
|
|
|
|
/**
|
|
* Test fixture.
|
|
*
|
|
* Used in the `PHPMailer\LocalizationTest` to test the fall-back logic.
|
|
*/
|
|
|
|
$PHPMAILER_LANG['empty_message'] = 'XD Lang-country file found';
|