From da9ac2da7240def3c929aecdf98ec284be994da1 Mon Sep 17 00:00:00 2001 From: brunoais Date: Sat, 10 Jan 2015 08:11:51 +0000 Subject: [ticket/13146] Last missing phpbb_mock_event_dispatcher() Thank you nickvergessen PHPBB3-13146 --- tests/content_visibility/delete_post_test.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'tests/content_visibility/delete_post_test.php') 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()); -- cgit v1.2.1