mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2024-03-22 13:10:41 +08:00
Merge remote-tracking branch 'origin/master' into php8
This commit is contained in:
commit
595f9cf42e
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user