aboutsummaryrefslogtreecommitdiffstats
path: root/tests/request/request.php
diff options
context:
space:
mode:
authorIgor Wiedler <igor@wiedler.ch>2010-08-31 21:26:50 +0200
committerNils Adermann <naderman@naderman.de>2010-09-17 14:08:14 +0200
commit456de639123ae3da6320bed6140ab69ac9925e74 (patch)
tree599778c0a452f6180de82e13288f7b7ed8e686ac /tests/request/request.php
parentb3558b50786dd8a66e4c4011647c048612bbfa7f (diff)
downloadforums-456de639123ae3da6320bed6140ab69ac9925e74.tar
forums-456de639123ae3da6320bed6140ab69ac9925e74.tar.gz
forums-456de639123ae3da6320bed6140ab69ac9925e74.tar.bz2
forums-456de639123ae3da6320bed6140ab69ac9925e74.tar.xz
forums-456de639123ae3da6320bed6140ab69ac9925e74.zip
[feature/request-class] Refactor request classes to use autoloading
All class names have been adjusted to use a phpbb_request prefix, allowing them to be autoloaded. Also introduces some improvements to autoloading in general. PHPBB3-9716
Diffstat (limited to 'tests/request/request.php')
-rw-r--r--tests/request/request.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/request/request.php b/tests/request/request.php
index ebfc3ba2b0..cf275e763c 100644
--- a/tests/request/request.php
+++ b/tests/request/request.php
@@ -10,7 +10,7 @@
require_once 'test_framework/framework.php';
require_once '../phpBB/includes/request/type_cast_helper_interface.php';
-require_once '../phpBB/includes/request/request_interface.php';
+require_once '../phpBB/includes/request/interface.php';
require_once '../phpBB/includes/request/deactivated_super_global.php';
require_once '../phpBB/includes/request/request.php';
@@ -28,7 +28,7 @@ class phpbb_request_test extends phpbb_test_case
$_REQUEST['test'] = 3;
$_GET['unset'] = '';
- $this->type_cast_helper = $this->getMock('phpbb_type_cast_helper_interface');
+ $this->type_cast_helper = $this->getMock('phpbb_request_type_cast_helper_interface');
$this->request = new phpbb_request($this->type_cast_helper);
}