summaryrefslogtreecommitdiff
path: root/_test/core/DokuWikiTest.php
diff options
context:
space:
mode:
Diffstat (limited to '_test/core/DokuWikiTest.php')
-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);
}