aboutsummaryrefslogtreecommitdiffstats
path: root/tests/extension
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2014-09-18 11:10:58 +0200
committerJoas Schilling <nickvergessen@gmx.de>2014-09-18 11:21:51 +0200
commit5ce61e8c3aaa1c77a9b80596f5c899d008537ee0 (patch)
treeff26d2acb5ea8579374e84a9374ff5c0ac939c38 /tests/extension
parentc220fa89a1bf5652df6512ad78eb9ba550fe465e (diff)
downloadforums-5ce61e8c3aaa1c77a9b80596f5c899d008537ee0.tar
forums-5ce61e8c3aaa1c77a9b80596f5c899d008537ee0.tar.gz
forums-5ce61e8c3aaa1c77a9b80596f5c899d008537ee0.tar.bz2
forums-5ce61e8c3aaa1c77a9b80596f5c899d008537ee0.tar.xz
forums-5ce61e8c3aaa1c77a9b80596f5c899d008537ee0.zip
[ticket/12963] Remove old migration/ folder from tests
PHPBB3-12963
Diffstat (limited to 'tests/extension')
-rw-r--r--tests/extension/ext/vendor2/bar/migration/migration.php18
-rw-r--r--tests/extension/ext/vendor2/foo/migrations/migration.php18
-rw-r--r--tests/extension/ext/vendor3/bar/migration/migration.php18
-rw-r--r--tests/extension/extension_base_test.php12
4 files changed, 3 insertions, 63 deletions
diff --git a/tests/extension/ext/vendor2/bar/migration/migration.php b/tests/extension/ext/vendor2/bar/migration/migration.php
deleted file mode 100644
index fc27656d10..0000000000
--- a/tests/extension/ext/vendor2/bar/migration/migration.php
+++ /dev/null
@@ -1,18 +0,0 @@
-<?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.
-*
-*/
-
-namespace vendor2\bar\migration;
-
-class migration extends \phpbb\db\migration\migration
-{
-}
diff --git a/tests/extension/ext/vendor2/foo/migrations/migration.php b/tests/extension/ext/vendor2/foo/migrations/migration.php
deleted file mode 100644
index 63085497e3..0000000000
--- a/tests/extension/ext/vendor2/foo/migrations/migration.php
+++ /dev/null
@@ -1,18 +0,0 @@
-<?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.
-*
-*/
-
-namespace vendor2\foo\migrations;
-
-class migration extends \phpbb\db\migration\migration
-{
-}
diff --git a/tests/extension/ext/vendor3/bar/migration/migration.php b/tests/extension/ext/vendor3/bar/migration/migration.php
deleted file mode 100644
index e7280a7d5e..0000000000
--- a/tests/extension/ext/vendor3/bar/migration/migration.php
+++ /dev/null
@@ -1,18 +0,0 @@
-<?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.
-*
-*/
-
-namespace vendor3\bar\migration;
-
-class migration extends \phpbb\db\migration\migration
-{
-}
diff --git a/tests/extension/extension_base_test.php b/tests/extension/extension_base_test.php
index 5535c91fc5..eee38186db 100644
--- a/tests/extension/extension_base_test.php
+++ b/tests/extension/extension_base_test.php
@@ -16,6 +16,9 @@ class phpbb_extension_extension_base_test extends phpbb_test_case
{
protected static $reflection_method_get_migration_file_list;
+ /** @var phpbb_mock_extension_manager */
+ protected $extension_manager;
+
public static function setUpBeforeClass()
{
parent::setUpBeforeClass();
@@ -57,17 +60,8 @@ class phpbb_extension_extension_base_test extends phpbb_test_case
{
return array(
array(
- 'vendor3/bar',
- array('\vendor3\bar\migration\migration'),
- ),
- array(
- 'vendor2/foo',
- array('\vendor2\foo\migrations\migration'),
- ),
- array(
'vendor2/bar',
array(
- '\vendor2\bar\migration\migration',
'\vendor2\bar\migrations\migration',
),
),