|
@@ -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()
|