0
0
mirror of https://github.com/PHPMailer/PHPMailer.git synced 2024-09-20 01:52:15 +02:00
PHPMailer/test/Fixtures/LocalizationTest/phpmailer.lang-fr.php
jrfnl 913fb552ab Tests: introduce dedicated tests for text localization
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.
2021-07-13 19:04:27 +02:00

11 lines
256 B
PHP

<?php
/**
* Test fixture.
*
* Used in the `PHPMailer\LocalizationTest` to test overruling an existing translation
* file with a custom one by passing in a `$langPath` parameter.
*/
$PHPMAILER_LANG['empty_message'] = "Custom path test success (fr)";