r90230 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r90229‎ | r90230 | r90231 >
Date:21:06, 16 June 2011
Author:platonides
Status:ok
Tags:
Comment:
Mark as needing a db.
Remove double data insertion
Modified paths:
  • /trunk/phase3/tests/phpunit/includes/search/SearchDbTest.php (modified) (history)

Diff [purge]

Index: trunk/phase3/tests/phpunit/includes/search/SearchDbTest.php
@@ -4,6 +4,7 @@
55
66 /**
77 * @group Search
 8+ * @group Database
89 * @group Destructive
910 */
1011 class SearchDbTest extends SearchEngineTest {
@@ -21,8 +22,6 @@
2223 // Initialize search database with data
2324 $GLOBALS['wgContLang'] = new Language;
2425 $this->insertSearchData();
25 -
26 - $this->insertSearchData();
2726 $searchType = $this->db->getSearchEngine();
2827 $this->search = new $searchType( $this->db );
2928 }

Status & tagging log