diff options
| author | Andy Chase <asperous2@gmail.com> | 2013-07-01 15:07:06 -0700 |
|---|---|---|
| committer | Andy Chase <asperous2@gmail.com> | 2013-07-05 14:09:52 -0700 |
| commit | 71fbe74edea4ad2618fbd9161e83ccaabafea9ac (patch) | |
| tree | 22261a11bc949131866b2a5338760af5a47464ad /tests/session/extract_hostname_test.php | |
| parent | b8d9d7b79f98093a5870db2e3b60663ed5069d39 (diff) | |
| download | forums-71fbe74edea4ad2618fbd9161e83ccaabafea9ac.tar forums-71fbe74edea4ad2618fbd9161e83ccaabafea9ac.tar.gz forums-71fbe74edea4ad2618fbd9161e83ccaabafea9ac.tar.bz2 forums-71fbe74edea4ad2618fbd9161e83ccaabafea9ac.tar.xz forums-71fbe74edea4ad2618fbd9161e83ccaabafea9ac.zip | |
[ticket/11620] Fix quotes in extract_hostname_test
PHPBB3-11620
Diffstat (limited to 'tests/session/extract_hostname_test.php')
| -rw-r--r-- | tests/session/extract_hostname_test.php | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/session/extract_hostname_test.php b/tests/session/extract_hostname_test.php index a126626ae3..ae12a027f7 100644 --- a/tests/session/extract_hostname_test.php +++ b/tests/session/extract_hostname_test.php @@ -30,15 +30,15 @@ class phpbb_session_extract_hostname_test extends phpbb_database_test_case return array ( // [Input] $host, $server_name_config, $cookie_domain_config, [Expected] $output // If host is ip use that ipv4 - array("127.0.0.1", "skipped.org", "skipped.org", "127.0.0.1"), + array('127.0.0.1', 'skipped.org', 'skipped.org', '127.0.0.1'), // If no host but server name matches cookie_domain use that - array("", "example.org", "example.org", "example.org"), + array('', 'example.org', 'example.org', 'example.org'), // If there is a host uri use that - array("example.org", False, False, "example.org"), - // "best approach" guessing - array("", "example.org", False, "example.org"), - array("", False, "127.0.0.1", "127.0.0.1"), - array("", False, False, php_uname('n')), + array('example.org', false, false, 'example.org'), + // 'best approach' guessing + array('', 'example.org', false, 'example.org'), + array('', false, '127.0.0.1', '127.0.0.1'), + array('', false, false, php_uname('n')), ); } |
