Skip to content
Snippets Groups Projects
Commit ddb55c70 authored by Gerrit Uitslag's avatar Gerrit Uitslag
Browse files

Use DOKU_BASE in resolveinterwiki unittest

parent 4485a891
No related branches found
No related tags found
No related merge requests found
......@@ -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&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&do=edit#txt')
);
foreach($tests as $test) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment