mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-11 19:24:01 +02:00
[ticket/17525] Fix handling index name prefix logic for renaming
PHPBB-17525
This commit is contained in:
@@ -154,6 +154,7 @@ class phpbb_extension_manager_test extends phpbb_database_test_case
|
||||
{
|
||||
$phpbb_root_path = __DIR__ . './../../phpBB/';
|
||||
$php_ext = 'php';
|
||||
$table_prefix = 'phpbb_';
|
||||
|
||||
$config = new \phpbb\config\config(array('version' => PHPBB_VERSION));
|
||||
$db = $this->new_dbal();
|
||||
@@ -162,7 +163,7 @@ class phpbb_extension_manager_test extends phpbb_database_test_case
|
||||
$factory = new \phpbb\db\tools\factory();
|
||||
$finder_factory = new \phpbb\finder\factory(null, false, $phpbb_root_path, $php_ext);
|
||||
$db_tools = $factory->get($db_doctrine);
|
||||
$table_prefix = 'phpbb_';
|
||||
$db_tools->set_table_prefix($table_prefix);
|
||||
|
||||
$container = new phpbb_mock_container_builder();
|
||||
|
||||
|
Reference in New Issue
Block a user