aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_framework/mock
diff options
context:
space:
mode:
authorMate Bartus <mate.bartus@gmail.com>2015-10-18 22:47:04 +0200
committerMarc Alexander <admin@m-a-styles.de>2015-10-22 21:29:52 +0200
commit597297b169e2ae14684ad1f40c8e083be22b241d (patch)
tree41a12be0ddf52aa186e23dc75c05b4ae11d1d9da /tests/test_framework/mock
parentcc1a96a8045b6abe5b1234afb045912d53669fee (diff)
downloadforums-597297b169e2ae14684ad1f40c8e083be22b241d.tar
forums-597297b169e2ae14684ad1f40c8e083be22b241d.tar.gz
forums-597297b169e2ae14684ad1f40c8e083be22b241d.tar.bz2
forums-597297b169e2ae14684ad1f40c8e083be22b241d.tar.xz
forums-597297b169e2ae14684ad1f40c8e083be22b241d.zip
[ticket/14044] Deduplicate the installers
PHPBB3-14044
Diffstat (limited to 'tests/test_framework/mock')
-rw-r--r--tests/test_framework/mock/phpbb_mock_null_installer_task.php30
1 files changed, 30 insertions, 0 deletions
diff --git a/tests/test_framework/mock/phpbb_mock_null_installer_task.php b/tests/test_framework/mock/phpbb_mock_null_installer_task.php
new file mode 100644
index 0000000000..c1b880d967
--- /dev/null
+++ b/tests/test_framework/mock/phpbb_mock_null_installer_task.php
@@ -0,0 +1,30 @@
+<?php
+/**
+ *
+ * This file is part of the phpBB Forum Software package.
+ *
+ * @copyright (c) phpBB Limited <https://www.phpbb.com>
+ * @license GNU General Public License, version 2 (GPL-2.0)
+ *
+ * For full copyright and license information, please see
+ * the docs/CREDITS.txt file.
+ *
+ */
+
+class phpbb_mock_null_installer_task extends \phpbb\install\task_base
+{
+ public function run()
+ {
+
+ }
+
+ static public function get_step_count()
+ {
+ return 0;
+ }
+
+ public function get_task_lang_name()
+ {
+ return '';
+ }
+}