Update the language directory path (#1639)
This commit is contained in:
parent
e134a4060b
commit
7582514b36
|
|
@ -47,7 +47,7 @@ final class PHPMailerLangTest extends TestCase
|
|||
$this->Mail->setLanguage('en');
|
||||
$definedStrings = $this->Mail->getTranslations();
|
||||
$err = '';
|
||||
foreach (new \DirectoryIterator('../language') as $fileInfo) {
|
||||
foreach (new \DirectoryIterator(__DIR__ . '/../language') as $fileInfo) {
|
||||
if ($fileInfo->isDot()) {
|
||||
continue;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue