diff options
| author | Nils Adermann <naderman@naderman.de> | 2012-03-31 18:16:55 +0200 |
|---|---|---|
| committer | Nils Adermann <naderman@naderman.de> | 2012-03-31 18:16:55 +0200 |
| commit | 7e2f16aafa47f8db51a12a293b0616cb75b4d12f (patch) | |
| tree | 3e5e62baab0038d4895eaa9c7a47dadbc3eb4e84 /tests/security/base.php | |
| parent | 17a7b570747a91321903e30f3c0dd6f8246c0047 (diff) | |
| parent | 9236dd4c471a6f7655bd00ae422a13013a400ac4 (diff) | |
| download | forums-7e2f16aafa47f8db51a12a293b0616cb75b4d12f.tar forums-7e2f16aafa47f8db51a12a293b0616cb75b4d12f.tar.gz forums-7e2f16aafa47f8db51a12a293b0616cb75b4d12f.tar.bz2 forums-7e2f16aafa47f8db51a12a293b0616cb75b4d12f.tar.xz forums-7e2f16aafa47f8db51a12a293b0616cb75b4d12f.zip | |
Merge remote-tracking branch 'github-igorw/feature/class-prefix' into develop
* github-igorw/feature/class-prefix:
[feature/class-prefix] Rename auth => phpbb_auth
[feature/class-prefix] Rename user and session to phpbb_*
Diffstat (limited to 'tests/security/base.php')
| -rw-r--r-- | tests/security/base.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/security/base.php b/tests/security/base.php index f7f3f9f661..82e4dda9d0 100644 --- a/tests/security/base.php +++ b/tests/security/base.php @@ -41,13 +41,13 @@ abstract class phpbb_security_test_base extends phpbb_test_case $request = new phpbb_mock_request(array(), array(), array(), $server); // Set no user and trick a bit to circumvent errors - $user = new user(); + $user = new phpbb_user(); $user->lang = true; $user->browser = $server['HTTP_USER_AGENT']; $user->referer = ''; $user->forwarded_for = ''; $user->host = $server['HTTP_HOST']; - $user->page = session::extract_current_page($phpbb_root_path); + $user->page = phpbb_session::extract_current_page($phpbb_root_path); } protected function tearDown() |
