aboutsummaryrefslogtreecommitdiffstats
path: root/tests/functional
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2013-11-13 17:38:58 +0100
committerJoas Schilling <nickvergessen@gmx.de>2013-11-13 17:38:58 +0100
commitfbf5911ac54c83d439121e90032afca0ec2a7fc4 (patch)
treea0411322bbd24295c9eb3468fe1c6f330d19629e /tests/functional
parentd3f9a51709d538824f4ec7afe8a2d6934dabb13c (diff)
downloadforums-fbf5911ac54c83d439121e90032afca0ec2a7fc4.tar
forums-fbf5911ac54c83d439121e90032afca0ec2a7fc4.tar.gz
forums-fbf5911ac54c83d439121e90032afca0ec2a7fc4.tar.bz2
forums-fbf5911ac54c83d439121e90032afca0ec2a7fc4.tar.xz
forums-fbf5911ac54c83d439121e90032afca0ec2a7fc4.zip
[ticket/12016] Update functional tests to use service for event listeners
PHPBB3-12016
Diffstat (limited to 'tests/functional')
-rw-r--r--tests/functional/fixtures/ext/foo/bar/config/services.yml9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/functional/fixtures/ext/foo/bar/config/services.yml b/tests/functional/fixtures/ext/foo/bar/config/services.yml
index 3bca4c6567..64e1163408 100644
--- a/tests/functional/fixtures/ext/foo/bar/config/services.yml
+++ b/tests/functional/fixtures/ext/foo/bar/config/services.yml
@@ -4,3 +4,12 @@ services:
arguments:
- @controller.helper
- @template
+ foo_bar.listener.permission:
+ class: foo\bar\event\permission
+ tags:
+ - { name: event.listener }
+ foo_bar.listener.user_setup:
+ class: foo\bar\event\user_setup
+ tags:
+ - { name: event.listener }
+