dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Increase maximum length of automatic deletion summaries
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
search
/
SearchNearMatcherTest.php
diff --git
a/tests/phpunit/includes/search/SearchNearMatcherTest.php
b/tests/phpunit/includes/search/SearchNearMatcherTest.php
index
132011a
..
9ccae8c
100644
(file)
--- a/
tests/phpunit/includes/search/SearchNearMatcherTest.php
+++ b/
tests/phpunit/includes/search/SearchNearMatcherTest.php
@@
-27,4
+27,9
@@
class SearchNearMatcherTest extends \PHPUnit\Framework\TestCase {
$title = $matcher->getNearMatch( $searchterm );
$this->assertEquals( $expected, $title === null ? null : (string)$title );
}
+
+ function tearDown() {
+ Title::clearCaches();
+ parent::tearDown();
+ }
}