summaryrefslogtreecommitdiff
path: root/_test
diff options
context:
space:
mode:
authorMichael Hamann <michael@content-space.de>2012-12-20 17:47:39 +0100
committerMichael Hamann <michael@content-space.de>2012-12-20 17:47:39 +0100
commit4f7083212993bf72f0b8969e6d57f587faaa5dfc (patch)
treeb5542aba2a59a24319cbaeea3854506b4f50ed7f /_test
parent3cf3c7d60c81d562c8331a377a76e86d41f8f528 (diff)
downloadrpg-4f7083212993bf72f0b8969e6d57f587faaa5dfc.tar.gz
rpg-4f7083212993bf72f0b8969e6d57f587faaa5dfc.tar.bz2
Remove global $Indexer, clear index in the testing system instead
Diffstat (limited to '_test')
-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);
}