mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
[ticket/11700] Move all recent code to namespaces
PHPBB3-11700
This commit is contained in:
@@ -11,7 +11,7 @@ class phpbb_user_lang_test extends phpbb_test_case
|
||||
{
|
||||
public function test_user_lang_sprintf()
|
||||
{
|
||||
$user = new phpbb_user;
|
||||
$user = new \phpbb\user;
|
||||
$user->lang = array(
|
||||
'FOO' => 'BAR',
|
||||
'BARZ' => 'PENG',
|
||||
@@ -93,7 +93,7 @@ class phpbb_user_lang_test extends phpbb_test_case
|
||||
$this->assertEquals($user->lang('ARRY', 1, 's', 2), '1 post');
|
||||
|
||||
// ticket PHPBB3-10345 - different plural rules, not just 0/1/2+
|
||||
$user = new phpbb_user;
|
||||
$user = new \phpbb\user;
|
||||
$user->lang = array(
|
||||
'PLURAL_RULE' => 13,
|
||||
'ARRY' => array(
|
||||
|
@@ -24,7 +24,7 @@ class phpbb_user_loader_test extends phpbb_database_test_case
|
||||
parent::setUp();
|
||||
|
||||
$this->db = $this->new_dbal();
|
||||
$this->user_loader = new phpbb_user_loader($this->db, __DIR__ . '/../../phpBB/', 'php', 'phpbb_users');
|
||||
$this->user_loader = new \phpbb\user_loader($this->db, __DIR__ . '/../../phpBB/', 'php', 'phpbb_users');
|
||||
}
|
||||
|
||||
public function test_load_get()
|
||||
|
Reference in New Issue
Block a user