summaryrefslogtreecommitdiff
path: root/_test/tests/inc/parser
diff options
context:
space:
mode:
authorGerrit Uitslag <klapinklapin@gmail.com>2014-02-15 11:29:33 +0100
committerGerrit Uitslag <klapinklapin@gmail.com>2014-02-15 11:29:33 +0100
commitddb55c702f2393a435c309fd7d4e169acb2675f7 (patch)
tree0cec745acec03bd856be5eef07f5b58466b3ab19 /_test/tests/inc/parser
parent4485a8917160fb9f955e5b8aa28c1a5499c608b0 (diff)
downloadrpg-ddb55c702f2393a435c309fd7d4e169acb2675f7.tar.gz
rpg-ddb55c702f2393a435c309fd7d4e169acb2675f7.tar.bz2
Use DOKU_BASE in resolveinterwiki unittest
Diffstat (limited to '_test/tests/inc/parser')
-rw-r--r--_test/tests/inc/parser/renderer_resolveinterwiki.test.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/_test/tests/inc/parser/renderer_resolveinterwiki.test.php b/_test/tests/inc/parser/renderer_resolveinterwiki.test.php
index ea4f99511..a71895b34 100644
--- a/_test/tests/inc/parser/renderer_resolveinterwiki.test.php
+++ b/_test/tests/inc/parser/renderer_resolveinterwiki.test.php
@@ -25,9 +25,9 @@ class Test_resolveInterwiki extends PHPUnit_Framework_TestCase {
//relative url
array('withslash', 'foo @+%/#txt', '/testfoo%20%40%2B%25%2F#txt'),
//dokuwiki id's
- array('onlytext', 'foo @+%#txt', '/tmp/doku.php?id=onlytextfoo%20%40%2B%25#txt'),
- array('user', 'foo @+%#txt', '/tmp/doku.php?id=wiki:users:foo%20%40%2B%25#txt'),
- array('withquery', 'foo @+%#txt', '/tmp/doku.php?id=anyns:foo%20%40%2B%25&amp;do=edit#txt')
+ array('onlytext', 'foo @+%#txt', DOKU_BASE.'doku.php?id=onlytextfoo%20%40%2B%25#txt'),
+ array('user', 'foo @+%#txt', DOKU_BASE.'doku.php?id=wiki:users:foo%20%40%2B%25#txt'),
+ array('withquery', 'foo @+%#txt', DOKU_BASE.'doku.php?id=anyns:foo%20%40%2B%25&amp;do=edit#txt')
);
foreach($tests as $test) {