1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-13 04:04:12 +02:00

[ticket/14957] Do not cache database config entries

PHPBB3-14957
This commit is contained in:
Marc Alexander
2016-12-28 18:15:17 +01:00
parent bc96a9f1f6
commit 14fd750b08
6 changed files with 21 additions and 10 deletions

View File

@@ -53,7 +53,7 @@ namespace
$this->assertTrue($container->isFrozen());
// Checks inject_config
$this->assertTrue($container->hasParameter('dbal.dbhost'));
$this->assertTrue($container->hasParameter('core.table_prefix'));
// Checks use_extensions
$this->assertTrue($container->hasParameter('enabled'));

View File

@@ -10,5 +10,8 @@ services:
arguments:
- @service_container
dbal.conn.driver:
synthetic: true
dispatcher:
class: phpbb\db\driver\container_mock

View File

@@ -10,5 +10,8 @@ services:
arguments:
- @service_container
dbal.conn.driver:
synthetic: true
dispatcher:
class: phpbb\db\driver\container_mock