summaryrefslogtreecommitdiff
path: root/_test/core
diff options
context:
space:
mode:
authorMichael Hamann <michael@content-space.de>2013-01-06 11:25:37 -0800
committerMichael Hamann <michael@content-space.de>2013-01-06 11:25:37 -0800
commitfdf855d93183bf3eb0074877172dab6809d9ef7d (patch)
treec81cd6190534c8a284baf6a2fea9738271cdb48a /_test/core
parentb9ad156b06ca6d5530803836871777b10894f130 (diff)
parentbff17c53db3caca2e08837dc163e10a15f82860b (diff)
downloadrpg-fdf855d93183bf3eb0074877172dab6809d9ef7d.tar.gz
rpg-fdf855d93183bf3eb0074877172dab6809d9ef7d.tar.bz2
Merge pull request #148 from michitux/indexer
Indexer: Add the PID to INDEXER_PAGE_ADD and add getPID/getPageFromPID functions
Diffstat (limited to '_test/core')
-rw-r--r--_test/core/DokuWikiTest.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/_test/core/DokuWikiTest.php b/_test/core/DokuWikiTest.php
index b9e151456..91eb5293b 100644
--- a/_test/core/DokuWikiTest.php
+++ b/_test/core/DokuWikiTest.php
@@ -30,6 +30,8 @@ abstract class DokuWikiTest extends PHPUnit_Framework_TestCase {
// remove any leftovers from the last run
if(is_dir(DOKU_TMP_DATA)){
+ // clear indexer data and cache
+ idx_get_indexer()->clear();
TestUtils::rdelete(DOKU_TMP_DATA);
}