aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Chase <asperous2@gmail.com>2013-07-05 11:52:40 -0700
committerAndy Chase <asperous2@gmail.com>2013-07-05 14:10:01 -0700
commit7ef95ce8ac8d189c65c3c3b27f0da9d1ac46877c (patch)
treebddcafa18bda416ca078e27d8740b9a3fad27ee2
parentab1c42babf5fcbc07637940bd50ba4b2d7edca81 (diff)
downloadforums-7ef95ce8ac8d189c65c3c3b27f0da9d1ac46877c.tar
forums-7ef95ce8ac8d189c65c3c3b27f0da9d1ac46877c.tar.gz
forums-7ef95ce8ac8d189c65c3c3b27f0da9d1ac46877c.tar.bz2
forums-7ef95ce8ac8d189c65c3c3b27f0da9d1ac46877c.tar.xz
forums-7ef95ce8ac8d189c65c3c3b27f0da9d1ac46877c.zip
[ticket/11620] Fix typo and confusingly named test
PHPBB3-11620
-rw-r--r--tests/session/validate_referrer_test.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/session/validate_referrer_test.php b/tests/session/validate_referrer_test.php
index 0636f04072..6774166132 100644
--- a/tests/session/validate_referrer_test.php
+++ b/tests/session/validate_referrer_test.php
@@ -37,7 +37,7 @@ class phpbb_session_validate_referrer_test extends phpbb_database_test_case
array(false, '', $ex, false, 80, $ex, '', true),
array(false, $ex, '', false, 80, $ex, '', true),
// 2 Referrer doesn't match host or server_name
- array(false, $alt, $ex, yes, 80, $ex, '', false),
+ array(false, $alt, $ex, false, 80, $ex, '', false),
// 3 Everything should check out
array(false, $ex, $ex, false, 80, $ex, '', true),
// 4 Check Script Path
@@ -52,7 +52,7 @@ class phpbb_session_validate_referrer_test extends phpbb_database_test_case
}
/** @dataProvider referrer_inputs */
- function test_failing_referrer (
+ function test_referrer_inputs (
$check_script_path,
$referrer,
$host,