aboutsummaryrefslogtreecommitdiffstats
path: root/tests/di/fixtures/config
diff options
context:
space:
mode:
authorTristan Darricau <tristan.darricau@sensiolabs.com>2015-04-26 21:30:50 +0200
committerNicofuma <github@nicofuma.fr>2015-05-14 23:04:18 +0200
commit549fe66d90eed1d6a4fee6f5f706c73455d73596 (patch)
treeacbc96aacef03fdb6e7d324d79d2592ab52d4dce /tests/di/fixtures/config
parentc96e7ef1711932c2236620903bc256b346514dfc (diff)
downloadforums-549fe66d90eed1d6a4fee6f5f706c73455d73596.tar
forums-549fe66d90eed1d6a4fee6f5f706c73455d73596.tar.gz
forums-549fe66d90eed1d6a4fee6f5f706c73455d73596.tar.bz2
forums-549fe66d90eed1d6a4fee6f5f706c73455d73596.tar.xz
forums-549fe66d90eed1d6a4fee6f5f706c73455d73596.zip
[ticket/13770] Update tests
PHPBB3-13770
Diffstat (limited to 'tests/di/fixtures/config')
-rw-r--r--tests/di/fixtures/config/production/config.yml2
-rw-r--r--tests/di/fixtures/config/production/container/environment.yml17
2 files changed, 19 insertions, 0 deletions
diff --git a/tests/di/fixtures/config/production/config.yml b/tests/di/fixtures/config/production/config.yml
new file mode 100644
index 0000000000..fcfa84f68b
--- /dev/null
+++ b/tests/di/fixtures/config/production/config.yml
@@ -0,0 +1,2 @@
+core:
+ require_dev_dependencies: true
diff --git a/tests/di/fixtures/config/production/container/environment.yml b/tests/di/fixtures/config/production/container/environment.yml
new file mode 100644
index 0000000000..6ac07a44d9
--- /dev/null
+++ b/tests/di/fixtures/config/production/container/environment.yml
@@ -0,0 +1,17 @@
+parameters:
+ core: true
+
+services:
+ config.php:
+ synthetic: true
+
+ dbal.conn:
+ class: phpbb\db\driver\factory
+ arguments:
+ - @service_container
+
+ dispatcher:
+ class: phpbb\db\driver\container_mock
+
+ ext.manager:
+ class: phpbb\extension\manager_mock