aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_framework/phpbb_database_test_case.php
diff options
context:
space:
mode:
authorCesar G <prototech91@gmail.com>2014-09-17 17:49:01 -0700
committerCesar G <prototech91@gmail.com>2014-09-17 17:49:01 -0700
commit53f62f112958a27e5a7a217d5887bdcfe3b91241 (patch)
treef49e6c5ce12dee778a15f48eb624b999894192cb /tests/test_framework/phpbb_database_test_case.php
parent6c043c4a86d3233ea8360fd96f8898c2793f36f5 (diff)
parent0d1f0c07fe3485f18ea23dbc7fc481ea625e4ab7 (diff)
downloadforums-53f62f112958a27e5a7a217d5887bdcfe3b91241.tar
forums-53f62f112958a27e5a7a217d5887bdcfe3b91241.tar.gz
forums-53f62f112958a27e5a7a217d5887bdcfe3b91241.tar.bz2
forums-53f62f112958a27e5a7a217d5887bdcfe3b91241.tar.xz
forums-53f62f112958a27e5a7a217d5887bdcfe3b91241.zip
Merge remote-tracking branch 'Nicofuma/ticket/12963' into develop-ascraeus
* Nicofuma/ticket/12963: [ticket/12963] Fix the migration's finder for the tests (path, new instance)
Diffstat (limited to 'tests/test_framework/phpbb_database_test_case.php')
-rw-r--r--tests/test_framework/phpbb_database_test_case.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/test_framework/phpbb_database_test_case.php b/tests/test_framework/phpbb_database_test_case.php
index 15ab976b02..6b19689b2f 100644
--- a/tests/test_framework/phpbb_database_test_case.php
+++ b/tests/test_framework/phpbb_database_test_case.php
@@ -70,13 +70,15 @@ abstract class phpbb_database_test_case extends PHPUnit_Extensions_Database_Test
$finder = new \phpbb\finder(new \phpbb\filesystem(), $phpbb_root_path, null, $phpEx);
$classes = $finder->core_path('phpbb/')
- ->core_directory('/db/migration/data')
+ ->core_directory('db/migration/data/')
->set_extensions($setup_extensions)
- ->extension_directory('migration')
+ ->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();