1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[ticket/11620] Minor changes to tests for coding standards

PHPBB3-11620
This commit is contained in:
Andy Chase
2013-07-08 16:34:46 -07:00
parent 3999d7ec7c
commit cd1fe789d2
4 changed files with 28 additions and 20 deletions

View File

@@ -63,8 +63,8 @@ class phpbb_session_validate_referrer_test extends phpbb_database_test_case
$pass_or_fail
)
{
//Referrer needs http:// because it's going to get stripped in function.
$referrer = ($referrer? 'http://'.$referrer : '');
// Referrer needs http:// because it's going to get stripped in function.
$referrer = $referrer ? 'http://'.$referrer : '';
$this->assertEquals(
$pass_or_fail,
$this->session_facade->validate_referer(