mirror of
https://github.com/phpbb/phpbb.git
synced 2025-04-21 16:22:22 +02:00
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)
This commit is contained in:
commit
53f62f1129
@ -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();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user