mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-12 06:18:52 +00:00
Merge branch 'ticket/14957' into ticket/14957-rhea
This commit is contained in:
commit
9f149e345b
2 changed files with 3 additions and 1 deletions
|
@ -525,7 +525,8 @@ class container_builder
|
||||||
*/
|
*/
|
||||||
protected function inject_dbal_driver()
|
protected function inject_dbal_driver()
|
||||||
{
|
{
|
||||||
if (!empty($this->config_php_file) && !empty($this->config_php_file->get_all()))
|
$config_data = $this->config_php_file->get_all();
|
||||||
|
if (!empty($config_data))
|
||||||
{
|
{
|
||||||
if ($this->dbal_connection === null)
|
if ($this->dbal_connection === null)
|
||||||
{
|
{
|
||||||
|
|
|
@ -304,6 +304,7 @@ class phpbb_functional_test_case extends phpbb_test_case
|
||||||
],
|
],
|
||||||
'cache.driver.class' => 'phpbb\cache\driver\file'
|
'cache.driver.class' => 'phpbb\cache\driver\file'
|
||||||
])
|
])
|
||||||
|
->with_config(new \phpbb\config_php_file($phpbb_root_path, $phpEx))
|
||||||
->without_compiled_container()
|
->without_compiled_container()
|
||||||
->get_container();
|
->get_container();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue