diff options
author | brunoais <brunoaiss@gmail.com> | 2015-01-10 08:11:51 +0000 |
---|---|---|
committer | brunoais <brunoaiss@gmail.com> | 2015-01-10 08:11:51 +0000 |
commit | da9ac2da7240def3c929aecdf98ec284be994da1 (patch) | |
tree | 599194744dd6a9c5457ee9aeb93685776f1c7060 | |
parent | 346f654b2e933ce57413d3f811aeb86732d8c602 (diff) | |
download | forums-da9ac2da7240def3c929aecdf98ec284be994da1.tar forums-da9ac2da7240def3c929aecdf98ec284be994da1.tar.gz forums-da9ac2da7240def3c929aecdf98ec284be994da1.tar.bz2 forums-da9ac2da7240def3c929aecdf98ec284be994da1.tar.xz forums-da9ac2da7240def3c929aecdf98ec284be994da1.zip |
[ticket/13146] Last missing phpbb_mock_event_dispatcher()
Thank you nickvergessen
PHPBB3-13146
-rw-r--r-- | tests/content_visibility/delete_post_test.php | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/content_visibility/delete_post_test.php b/tests/content_visibility/delete_post_test.php index 581c132893..6ad6351a0c 100644 --- a/tests/content_visibility/delete_post_test.php +++ b/tests/content_visibility/delete_post_test.php @@ -309,10 +309,7 @@ class phpbb_content_visibility_delete_post_test extends phpbb_database_test_case ))); $user = new \phpbb\user('\phpbb\datetime'); - - $phpbb_dispatcher = $this->getMockBuilder('\phpbb\event\dispatcher') - ->disableOriginalConstructor() - ->getMock(); + $phpbb_dispatcher = new phpbb_mock_event_dispatcher(); $phpbb_container = new phpbb_mock_container_builder(); $phpbb_container->set('notification_manager', new phpbb_mock_notification_manager()); |