You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$storage = new \phpbb\storage\storage($adapter_factory_mock, '');
308
+
301
309
// Create auth mock
302
310
$auth = $this->createMock('\phpbb\auth\auth');
303
311
$auth->expects($this->any())
@@ -309,7 +317,7 @@ public function test_delete_post($forum_id, $topic_id, $post_id, $data, $is_soft
309
317
$lang_loader = new \phpbb\language\language_file_loader($phpbb_root_path, $phpEx);
310
318
$lang = new \phpbb\language\language($lang_loader);
311
319
$user = new \phpbb\user($lang, '\phpbb\datetime');
312
-
$attachment_delete = new \phpbb\attachment\delete($config, $db, new \phpbb_mock_event_dispatcher(), new \phpbb\filesystem\filesystem(), new \phpbb\attachment\resync($db), $phpbb_root_path);
320
+
$attachment_delete = new \phpbb\attachment\delete($config, $db, new \phpbb_mock_event_dispatcher(), new \phpbb\attachment\resync($db), $storage);
0 commit comments