mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2025-01-24 13:41:08 -05:00
Merge pull request #886 from PrivateBin/scrutinizer-i18n-test
allow for Lojban (jbo) to be the "any" language pick
This commit is contained in:
commit
9443900f66
@ -145,7 +145,7 @@ class I18nTest extends PHPUnit_Framework_TestCase
|
||||
{
|
||||
$_SERVER['HTTP_ACCEPT_LANGUAGE'] = '*';
|
||||
I18n::loadTranslations();
|
||||
$this->assertTrue(strlen(I18n::_('en')) == 2, 'browser language any');
|
||||
$this->assertTrue(strlen(I18n::_('en')) >= 2, 'browser language any');
|
||||
}
|
||||
|
||||
public function testVariableInjection()
|
||||
|
Loading…
Reference in New Issue
Block a user