summaryrefslogtreecommitdiff
path: root/_test/tests/inc/pageutils_clean_id.test.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2013-06-08 12:36:08 -0700
committerAndreas Gohr <andi@splitbrain.org>2013-06-08 12:36:08 -0700
commita0376fb908efe76fcdeca5132e5aab8b0412c84a (patch)
tree14ec37075d19eea80399fe72181e9a02f8b35502 /_test/tests/inc/pageutils_clean_id.test.php
parent04e4890db370bdb57201f76581fe3dc0a3adb614 (diff)
parentdcb2204bf0a8e3e25bf4ff8352a71160e846266b (diff)
downloadrpg-a0376fb908efe76fcdeca5132e5aab8b0412c84a.tar.gz
rpg-a0376fb908efe76fcdeca5132e5aab8b0412c84a.tar.bz2
Merge pull request #223 from splitbrain/rootids_in_ml
Clean internal ids in ml(), that it matches with fetch.php
Diffstat (limited to '_test/tests/inc/pageutils_clean_id.test.php')
-rw-r--r--_test/tests/inc/pageutils_clean_id.test.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/_test/tests/inc/pageutils_clean_id.test.php b/_test/tests/inc/pageutils_clean_id.test.php
index 9c5781b24..478fd2bc4 100644
--- a/_test/tests/inc/pageutils_clean_id.test.php
+++ b/_test/tests/inc/pageutils_clean_id.test.php
@@ -43,6 +43,10 @@ class init_clean_id_test extends DokuWikiTest {
$tests[] = array('ns._#!ns:page','false','ns._ns:page');
$tests[] = array('ns_:page',false,'ns:page');
$tests[] = array('page...page','false','page...page');
+ $tests[] = array(':page',false,'page');
+ $tests[] = array(':ns:page',false,'ns:page');
+ $tests[] = array('page:',false,'page');
+ $tests[] = array('ns:page:',false,'ns:page');
$conf['useslash'] = 0;
$tests[] = array('page/page',false,'page_page');