diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2014-05-06 18:27:30 +0200 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2014-06-10 11:47:40 +0200 |
commit | 183492b01931dec5052e2087f70fa432a2f51b03 (patch) | |
tree | 44529b38da7872f3a66c1a95ba1370100f20c604 /tests | |
parent | d45c681b40cf0415ce49b2cd7f3f1083e84b367c (diff) | |
download | forums-183492b01931dec5052e2087f70fa432a2f51b03.tar forums-183492b01931dec5052e2087f70fa432a2f51b03.tar.gz forums-183492b01931dec5052e2087f70fa432a2f51b03.tar.bz2 forums-183492b01931dec5052e2087f70fa432a2f51b03.tar.xz forums-183492b01931dec5052e2087f70fa432a2f51b03.zip |
[ticket/12508] Move \phpbb\extension\finder to \phpbb\finder
PHPBB3-12508
Diffstat (limited to 'tests')
-rw-r--r-- | tests/controller/helper_route_test.php | 2 | ||||
-rw-r--r-- | tests/extension/finder_test.php | 4 | ||||
-rw-r--r-- | tests/pagination/pagination_test.php | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/tests/controller/helper_route_test.php b/tests/controller/helper_route_test.php index 3756082be6..f604f5d892 100644 --- a/tests/controller/helper_route_test.php +++ b/tests/controller/helper_route_test.php @@ -42,7 +42,7 @@ class phpbb_controller_helper_route_test extends phpbb_test_case ) ); - $finder = new \phpbb\extension\finder( + $finder = new \phpbb\finder( new \phpbb\filesystem(), dirname(__FILE__) . '/', new phpbb_mock_cache() diff --git a/tests/extension/finder_test.php b/tests/extension/finder_test.php index 0cf268d32b..fa30127ca0 100644 --- a/tests/extension/finder_test.php +++ b/tests/extension/finder_test.php @@ -201,7 +201,7 @@ class phpbb_extension_finder_test extends phpbb_test_case public function test_get_classes_create_cache() { $cache = new phpbb_mock_cache; - $finder = new \phpbb\extension\finder(new \phpbb\filesystem(), dirname(__FILE__) . '/', $cache, 'php', '_custom_cache_name'); + $finder = new \phpbb\finder(new \phpbb\filesystem(), dirname(__FILE__) . '/', $cache, 'php', '_custom_cache_name'); $finder->set_extensions($this->extension_manager->all_enabled()); $files = $finder->suffix('_class.php')->get_files(); @@ -240,7 +240,7 @@ class phpbb_extension_finder_test extends phpbb_test_case 'is_dir' => false, ); - $finder = new \phpbb\extension\finder( + $finder = new \phpbb\finder( new \phpbb\filesystem(), dirname(__FILE__) . '/', new phpbb_mock_cache(array( diff --git a/tests/pagination/pagination_test.php b/tests/pagination/pagination_test.php index 4d6fbac20e..ecdacc21a4 100644 --- a/tests/pagination/pagination_test.php +++ b/tests/pagination/pagination_test.php @@ -35,7 +35,7 @@ class phpbb_pagination_pagination_test extends phpbb_template_template_test_case ->will($this->returnCallback(array($this, 'return_callback_implode'))); $manager = new phpbb_mock_extension_manager(dirname(__FILE__) . '/', array()); - $finder = new \phpbb\extension\finder( + $finder = new \phpbb\finder( new \phpbb\filesystem(), dirname(__FILE__) . '/', new phpbb_mock_cache() |