1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 22:10:45 +02:00

[feature/php-events] Add mock for unit tests and create it were needed

PHPBB3-9550
This commit is contained in:
Joas Schilling
2012-08-11 15:25:14 +02:00
parent 06c8e19af3
commit 815e8ef9e1
2 changed files with 26 additions and 5 deletions

View File

@@ -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();
}
}