mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-09 02:06:32 +02:00
Merge branch 'develop-ascraeus' into develop
* develop-ascraeus: [ticket/12932] Remove set_datetime_class method from user class [ticket/12932] Fix tests and calls to create_datetime [ticket/12932] Add method for getting the datetime class and allow overriding Conflicts: phpBB/config/services.yml
This commit is contained in:
@@ -154,7 +154,7 @@ class phpbb_extension_manager_test extends phpbb_database_test_case
|
||||
$phpbb_root_path = __DIR__ . './../../phpBB/';
|
||||
$php_ext = 'php';
|
||||
$table_prefix = 'phpbb_';
|
||||
$user = new \phpbb\user();
|
||||
$user = new \phpbb\user('\phpbb\user');
|
||||
|
||||
$migrator = new \phpbb\db\migrator(
|
||||
$config,
|
||||
|
@@ -44,7 +44,7 @@ class phpbb_extension_metadata_manager_test extends phpbb_database_test_case
|
||||
$this->db_tools = new \phpbb\db\tools($this->db);
|
||||
$this->phpbb_root_path = dirname(__FILE__) . '/';
|
||||
$this->phpEx = 'php';
|
||||
$this->user = new \phpbb\user();
|
||||
$this->user = new \phpbb\user('\phpbb\datetime');
|
||||
$this->table_prefix = 'phpbb_';
|
||||
|
||||
$container = new phpbb_mock_container_builder();
|
||||
|
Reference in New Issue
Block a user