1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-10 18:54:08 +02:00

[ticket/12932] Fix tests and calls to create_datetime

PHPBB3-12932
This commit is contained in:
Marc Alexander
2014-08-10 13:40:27 +02:00
parent a57a96cbdd
commit 8d99b4afe1
43 changed files with 64 additions and 64 deletions

View File

@@ -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,

View File

@@ -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_';
$this->template = new \phpbb\template\twig\twig(