aboutsummaryrefslogtreecommitdiffstats
path: root/tests/extension
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2012-07-08 22:53:45 +0200
committerAndreas Fischer <bantu@phpbb.com>2012-07-08 22:57:23 +0200
commitd3bbde69c441a5d795a16e66c9cc7a9194f42218 (patch)
tree01c836ed26c3d96b2bc1e5f34ef5530b3e8a746c /tests/extension
parent932428086ecfa9cdd2c27cb185da7e22420e602d (diff)
downloadforums-d3bbde69c441a5d795a16e66c9cc7a9194f42218.tar
forums-d3bbde69c441a5d795a16e66c9cc7a9194f42218.tar.gz
forums-d3bbde69c441a5d795a16e66c9cc7a9194f42218.tar.bz2
forums-d3bbde69c441a5d795a16e66c9cc7a9194f42218.tar.xz
forums-d3bbde69c441a5d795a16e66c9cc7a9194f42218.zip
[ticket/10973] Drop all require_once for mocks. Use autoloading.
PHPBB3-10973
Diffstat (limited to 'tests/extension')
-rw-r--r--tests/extension/finder_test.php3
-rw-r--r--tests/extension/manager_test.php1
2 files changed, 0 insertions, 4 deletions
diff --git a/tests/extension/finder_test.php b/tests/extension/finder_test.php
index f7e9bd57bb..622f404786 100644
--- a/tests/extension/finder_test.php
+++ b/tests/extension/finder_test.php
@@ -7,9 +7,6 @@
*
*/
-require_once dirname(__FILE__) . '/../mock/cache.php';
-require_once dirname(__FILE__) . '/../mock/extension_manager.php';
-
class phpbb_extension_finder_test extends phpbb_test_case
{
protected $extension_manager;
diff --git a/tests/extension/manager_test.php b/tests/extension/manager_test.php
index 0a689916c7..45bed247ae 100644
--- a/tests/extension/manager_test.php
+++ b/tests/extension/manager_test.php
@@ -7,7 +7,6 @@
*
*/
-require_once dirname(__FILE__) . '/../mock/cache.php';
require_once dirname(__FILE__) . '/ext/bar/ext.php';
require_once dirname(__FILE__) . '/ext/foo/ext.php';
require_once dirname(__FILE__) . '/ext/vendor/moo/ext.php';