aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_framework/phpbb_database_test_case.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2014-09-18 10:42:21 +0200
committerJoas Schilling <nickvergessen@gmx.de>2014-09-18 10:45:08 +0200
commitc220fa89a1bf5652df6512ad78eb9ba550fe465e (patch)
tree78f38853c04b3cb15d074a06886d448968615b39 /tests/test_framework/phpbb_database_test_case.php
parent53e028ff1485bac571982a56200412fadb72dc83 (diff)
downloadforums-c220fa89a1bf5652df6512ad78eb9ba550fe465e.tar
forums-c220fa89a1bf5652df6512ad78eb9ba550fe465e.tar.gz
forums-c220fa89a1bf5652df6512ad78eb9ba550fe465e.tar.bz2
forums-c220fa89a1bf5652df6512ad78eb9ba550fe465e.tar.xz
forums-c220fa89a1bf5652df6512ad78eb9ba550fe465e.zip
[ticket/12963] Revert back to "migrations" folder name for extensions
The issues that can be created with the name change are just too much PHPBB3-12963
Diffstat (limited to 'tests/test_framework/phpbb_database_test_case.php')
-rw-r--r--tests/test_framework/phpbb_database_test_case.php9
1 files changed, 0 insertions, 9 deletions
diff --git a/tests/test_framework/phpbb_database_test_case.php b/tests/test_framework/phpbb_database_test_case.php
index 6b19689b2f..0eeb52443c 100644
--- a/tests/test_framework/phpbb_database_test_case.php
+++ b/tests/test_framework/phpbb_database_test_case.php
@@ -72,18 +72,9 @@ abstract class phpbb_database_test_case extends PHPUnit_Extensions_Database_Test
$classes = $finder->core_path('phpbb/')
->core_directory('db/migration/data/')
->set_extensions($setup_extensions)
- ->extension_directory('/migration')
- ->get_classes();
-
- // @deprecated 3.1.0-RC4 (To be removed: 3.2.0)
- $finder = new \phpbb\finder(new \phpbb\filesystem(), $phpbb_root_path, null, $phpEx);
- $classes_deprecated = $finder
- ->set_extensions($setup_extensions)
->extension_directory('/migrations')
->get_classes();
- $classes = array_merge($classes, $classes_deprecated);
-
$db = new \phpbb\db\driver\sqlite();
$schema_generator = new \phpbb\db\migration\schema_generator($classes, new \phpbb\config\config(array()), $db, new \phpbb\db\tools($db, true), $phpbb_root_path, $phpEx, $table_prefix);
$schema_data = $schema_generator->get_schema();