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
Merge "Fix wrong @return type hints in Language::tsTo… methods"
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
site
/
TestSites.php
diff --git
a/tests/phpunit/includes/site/TestSites.php
b/tests/phpunit/includes/site/TestSites.php
index
d7865d4
..
6597906
100644
(file)
--- a/
tests/phpunit/includes/site/TestSites.php
+++ b/
tests/phpunit/includes/site/TestSites.php
@@
-107,7
+107,7
@@
class TestSites {
* @since 0.1
*/
public static function insertIntoDb() {
- $sitesTable =
new DB
SiteStore();
+ $sitesTable =
\MediaWiki\MediaWikiServices::getInstance()->get
SiteStore();
$sitesTable->clear();
$sitesTable->saveSites( TestSites::getSites() );
}