mirror of
https://github.com/diocloid/LinkTitles.git
synced 2025-07-13 09:49:31 +02:00
Refactor, add Targets class.
This commit is contained in:
@ -5,7 +5,7 @@ abstract class TestCase extends \MediaWikiTestCase {
|
||||
protected function setUp() {
|
||||
parent::setUp();
|
||||
$this->insertPage( 'link target', 'This page serves as a link target' );
|
||||
Extension::invalidateCache();
|
||||
Targets::invalidate(); // force re-querying the pages table
|
||||
}
|
||||
|
||||
protected function tearDown() {
|
||||
|
Reference in New Issue
Block a user