Merge remote-tracking branch 'origin/master' into php8

This commit is contained in:
github-actions[bot] 2022-02-18 05:18:21 +00:00
commit 595f9cf42e

View File

@ -146,7 +146,7 @@ class I18nTest extends TestCase
{ {
$_SERVER['HTTP_ACCEPT_LANGUAGE'] = '*'; $_SERVER['HTTP_ACCEPT_LANGUAGE'] = '*';
I18n::loadTranslations(); I18n::loadTranslations();
$this->assertTrue(strlen(I18n::_('en')) == 2, 'browser language any'); $this->assertTrue(strlen(I18n::_('en')) >= 2, 'browser language any');
} }
public function testVariableInjection() public function testVariableInjection()