aboutsummaryrefslogtreecommitdiffstats
path: root/tests/session
diff options
context:
space:
mode:
authorTristan Darricau <github@nicofuma.fr>2017-09-08 10:45:22 +0200
committerTristan Darricau <github@nicofuma.fr>2017-09-08 16:26:39 +0200
commitc368d170cf09d06ff63249d4405323e6108d90bb (patch)
treef264ad23aaa9c3ecacde482caa633a49539e1bcd /tests/session
parent7221a47bb622951c3c81e4537d98357656064b2a (diff)
downloadforums-c368d170cf09d06ff63249d4405323e6108d90bb.tar
forums-c368d170cf09d06ff63249d4405323e6108d90bb.tar.gz
forums-c368d170cf09d06ff63249d4405323e6108d90bb.tar.bz2
forums-c368d170cf09d06ff63249d4405323e6108d90bb.tar.xz
forums-c368d170cf09d06ff63249d4405323e6108d90bb.zip
[ticket/15351] Makes confirm_works in a router context (app.php)
PHPBB3-15351
Diffstat (limited to 'tests/session')
-rw-r--r--tests/session/extract_page_test.php16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/session/extract_page_test.php b/tests/session/extract_page_test.php
index 88eb7b2c1a..f8aa3d27a5 100644
--- a/tests/session/extract_page_test.php
+++ b/tests/session/extract_page_test.php
@@ -136,6 +136,22 @@ class phpbb_session_extract_page_test extends phpbb_session_test_case
'forum' => 0,
),
),
+ array(
+ './community',
+ '/app.php',
+ '',
+ '/',
+ '/kb',
+ array(
+ 'page_name' => 'app.php/kb',
+ 'page_dir' => '..',
+ 'query_string' => '',
+ 'script_path' => '/',
+ 'root_script_path' => '/community/',
+ 'page' => '../app.php/kb',
+ 'forum' => 0,
+ ),
+ ),
);
}