From 1da5c41ab354d610d1eb3d4ba5c35c557d61ede3 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Thu, 18 Sep 2014 11:07:19 +0200 Subject: [PATCH] [ticket/12963] Always use core_path and core_directory() PHPBB3-12963 --- tests/test_framework/phpbb_database_test_case.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/test_framework/phpbb_database_test_case.php b/tests/test_framework/phpbb_database_test_case.php index 0eeb52443c..9dbb7150f1 100644 --- a/tests/test_framework/phpbb_database_test_case.php +++ b/tests/test_framework/phpbb_database_test_case.php @@ -69,8 +69,7 @@ abstract class phpbb_database_test_case extends PHPUnit_Extensions_Database_Test global $phpbb_root_path, $phpEx, $table_prefix; $finder = new \phpbb\finder(new \phpbb\filesystem(), $phpbb_root_path, null, $phpEx); - $classes = $finder->core_path('phpbb/') - ->core_directory('db/migration/data/') + $classes = $finder->core_path('phpbb/db/migration/data/') ->set_extensions($setup_extensions) ->extension_directory('/migrations') ->get_classes();