aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAndy Chase <asperous2@gmail.com>2013-07-09 12:03:17 -0700
committerAndy Chase <asperous2@gmail.com>2013-07-09 12:03:17 -0700
commitc96b0b1a47cef409fecc3bd30792e0907a869baa (patch)
tree2c17fac849d66159beb003ddc98655bf224bc475 /tests
parentf51721e905af68624df422889f92a069abd7b750 (diff)
downloadforums-c96b0b1a47cef409fecc3bd30792e0907a869baa.tar
forums-c96b0b1a47cef409fecc3bd30792e0907a869baa.tar.gz
forums-c96b0b1a47cef409fecc3bd30792e0907a869baa.tar.bz2
forums-c96b0b1a47cef409fecc3bd30792e0907a869baa.tar.xz
forums-c96b0b1a47cef409fecc3bd30792e0907a869baa.zip
[ticket/11620] Removed unnecessary lines and whitespace
PHPBB3-11620
Diffstat (limited to 'tests')
-rw-r--r--tests/mock/auth_provider.php7
-rw-r--r--tests/session/testable_facade.php7
2 files changed, 4 insertions, 10 deletions
diff --git a/tests/mock/auth_provider.php b/tests/mock/auth_provider.php
index cca7865fa2..9674c573e3 100644
--- a/tests/mock/auth_provider.php
+++ b/tests/mock/auth_provider.php
@@ -8,15 +8,10 @@
*/
/**
- * Mock provider class with basic functions to help test
- * sessions.
- *
- * See interface here:
- * includes/auth/provider/interface.php
+ * Mock auth provider class with basic functions to help test sessions.
*/
class phpbb_mock_auth_provider implements phpbb_auth_provider_interface
{
-
function init()
{
return null;
diff --git a/tests/session/testable_facade.php b/tests/session/testable_facade.php
index d28201adc3..b9f61b80cb 100644
--- a/tests/session/testable_facade.php
+++ b/tests/session/testable_facade.php
@@ -24,8 +24,8 @@ require_once dirname(__FILE__) . '/../../phpBB/includes/session.php';
*/
class phpbb_session_testable_facade
{
- var $db;
- var $session_factory;
+ protected $db;
+ protected $session_factory;
function __construct($db, $session_factory) {
$this->db = $db;
@@ -59,12 +59,11 @@ class phpbb_session_testable_facade
$config['cookie_domain'] = $cookie_domain_config;
$request->overwrite('SERVER_NAME', $host, phpbb_request_interface::SERVER);
$request->overwrite('Host', $host, phpbb_request_interface::SERVER);
- // Note: There is a php_uname fallthrough in this method
+ // Note: There is a php_uname function used as a fallthrough
// that this function doesn't override
return $session->extract_current_hostname();
}
-
/**
*
* This function has a lot of dependencies, so instead of naming them all,