mirror of
https://github.com/phpbb/phpbb.git
synced 2025-04-13 20:32:11 +02:00
[ticket/12775] Add the definition of dbal.conn in fixtures/config/services.yml
PHPBB3-12775
This commit is contained in:
parent
5b11ee8c97
commit
e2cbaf4f1a
@ -183,7 +183,10 @@ class container_builder
|
||||
|
||||
$this->container->set('config.php', $this->config_php_file);
|
||||
|
||||
$this->inject_dbal();
|
||||
if ($this->compile_container)
|
||||
{
|
||||
$this->inject_dbal();
|
||||
}
|
||||
|
||||
return $this->container;
|
||||
}
|
||||
|
@ -2,8 +2,13 @@ parameters:
|
||||
core: true
|
||||
|
||||
services:
|
||||
dispatcher:
|
||||
class: phpbb\db\driver\container_mock
|
||||
|
||||
config.php:
|
||||
synthetic: true
|
||||
|
||||
dbal.conn:
|
||||
class: phpbb\db\driver\factory
|
||||
arguments:
|
||||
- @service_container
|
||||
|
||||
dispatcher:
|
||||
class: phpbb\db\driver\container_mock
|
||||
|
@ -2,8 +2,13 @@ parameters:
|
||||
other_config: true
|
||||
|
||||
services:
|
||||
dispatcher:
|
||||
class: phpbb\db\driver\container_mock
|
||||
|
||||
config.php:
|
||||
synthetic: true
|
||||
|
||||
dbal.conn:
|
||||
class: phpbb\db\driver\factory
|
||||
arguments:
|
||||
- @service_container
|
||||
|
||||
dispatcher:
|
||||
class: phpbb\db\driver\container_mock
|
||||
|
Loading…
x
Reference in New Issue
Block a user