aboutsummaryrefslogtreecommitdiffstats
path: root/tests/mock/event_dispatcher.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/mock/event_dispatcher.php')
-rw-r--r--tests/mock/event_dispatcher.php16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/mock/event_dispatcher.php b/tests/mock/event_dispatcher.php
new file mode 100644
index 0000000000..8887b16163
--- /dev/null
+++ b/tests/mock/event_dispatcher.php
@@ -0,0 +1,16 @@
+<?php
+/**
+*
+* @package testing
+* @copyright (c) 2012 phpBB Group
+* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
+*
+*/
+
+class phpbb_mock_event_dispatcher
+{
+ public function trigger_event($eventName, $data)
+ {
+ return array();
+ }
+}