aboutsummaryrefslogtreecommitdiffstats
path: root/tests/di/fixtures/other_config/test/container
diff options
context:
space:
mode:
authorTristan Darricau <github@nicofuma.fr>2014-11-19 19:50:07 +0100
committerTristan Darricau <github@nicofuma.fr>2014-11-20 21:12:22 +0100
commitdd4f2387fd2f4df0e1513c251c9044f5bef60618 (patch)
treecddc7f06ac3b2a54d6767e7e84bdd237ae073bf5 /tests/di/fixtures/other_config/test/container
parent91daa736639fca67b2d330d0f20aabbd55eec2cf (diff)
downloadforums-dd4f2387fd2f4df0e1513c251c9044f5bef60618.tar
forums-dd4f2387fd2f4df0e1513c251c9044f5bef60618.tar.gz
forums-dd4f2387fd2f4df0e1513c251c9044f5bef60618.tar.bz2
forums-dd4f2387fd2f4df0e1513c251c9044f5bef60618.tar.xz
forums-dd4f2387fd2f4df0e1513c251c9044f5bef60618.zip
[ticket/12620] Use the test environment for the tests
PHPBB3-12620
Diffstat (limited to 'tests/di/fixtures/other_config/test/container')
-rw-r--r--tests/di/fixtures/other_config/test/container/environment.yml14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/di/fixtures/other_config/test/container/environment.yml b/tests/di/fixtures/other_config/test/container/environment.yml
new file mode 100644
index 0000000000..c299bfc648
--- /dev/null
+++ b/tests/di/fixtures/other_config/test/container/environment.yml
@@ -0,0 +1,14 @@
+parameters:
+ other_config: true
+
+services:
+ config.php:
+ synthetic: true
+
+ dbal.conn:
+ class: phpbb\db\driver\factory
+ arguments:
+ - @service_container
+
+ dispatcher:
+ class: phpbb\db\driver\container_mock