diff options
author | Marc Alexander <admin@m-a-styles.de> | 2014-09-17 00:36:38 +0200 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2014-09-17 00:36:38 +0200 |
commit | 4a06511d853024193435fd9b2e347ff292589420 (patch) | |
tree | aa3e98bfad040be23c232b235140e64ef8ce0d7f /tests/mock/migrator.php | |
parent | 2e1aebbc12bded1cb311394fe5acb5d8b13124c6 (diff) | |
parent | 8b16d3141396a11db3ab4ade49af91f2477f5fb6 (diff) | |
download | forums-4a06511d853024193435fd9b2e347ff292589420.tar forums-4a06511d853024193435fd9b2e347ff292589420.tar.gz forums-4a06511d853024193435fd9b2e347ff292589420.tar.bz2 forums-4a06511d853024193435fd9b2e347ff292589420.tar.xz forums-4a06511d853024193435fd9b2e347ff292589420.zip |
Merge pull request #2932 from Nicofuma/ticket/12963
[ticket/12963] Load extensions migrations from /migration
Diffstat (limited to 'tests/mock/migrator.php')
-rw-r--r-- | tests/mock/migrator.php | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/tests/mock/migrator.php b/tests/mock/migrator.php new file mode 100644 index 0000000000..293f115335 --- /dev/null +++ b/tests/mock/migrator.php @@ -0,0 +1,55 @@ +<?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_migrator extends \phpbb\db\migrator +{ + public function __construct() + { + } + + public function load_migration_state() + { + } + + public function set_migrations($class_names) + { + } + + public function update() + { + } + + public function revert($migration) + { + } + + public function unfulfillable($name) + { + } + + public function finished() + { + } + + public function migration_state($migration) + { + } + + public function populate_migrations($migrations) + { + } + + public function create_migrations_table() + { + } +} |