aboutsummaryrefslogtreecommitdiffstats
path: root/tests/mock
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2012-10-23 23:37:25 +0200
committerJoas Schilling <nickvergessen@gmx.de>2012-10-23 23:37:25 +0200
commitb3d5f2b4e42404610f5db8dda25859db942fd60e (patch)
treebccaaffac02c2a94ffb5ca705a7e276f37addf7b /tests/mock
parent3236229188d9b36105633223f4b2df6c6b3eb0ad (diff)
downloadforums-b3d5f2b4e42404610f5db8dda25859db942fd60e.tar
forums-b3d5f2b4e42404610f5db8dda25859db942fd60e.tar.gz
forums-b3d5f2b4e42404610f5db8dda25859db942fd60e.tar.bz2
forums-b3d5f2b4e42404610f5db8dda25859db942fd60e.tar.xz
forums-b3d5f2b4e42404610f5db8dda25859db942fd60e.zip
[feature/soft-delete] Fix unit tests for delete_posts()
PHPBB3-9567
Diffstat (limited to 'tests/mock')
-rw-r--r--tests/mock/search.php23
1 files changed, 23 insertions, 0 deletions
diff --git a/tests/mock/search.php b/tests/mock/search.php
new file mode 100644
index 0000000000..6739719216
--- /dev/null
+++ b/tests/mock/search.php
@@ -0,0 +1,23 @@
+<?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_search
+{
+
+ public function __construct($error, $phpbb_root_path, $phpEx, $auth, $config, $db, $user)
+ {
+ }
+
+ public function index_remove($post_ids, $poster_ids, $forum_ids)
+ {
+ }
+}
+