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 "Synchronize allowed attributes for <audio> with Parsoid/TimedMediaHandler"
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
api
/
ApiQueryWatchlistIntegrationTest.php
diff --git
a/tests/phpunit/includes/api/ApiQueryWatchlistIntegrationTest.php
b/tests/phpunit/includes/api/ApiQueryWatchlistIntegrationTest.php
index
41ecd52
..
2b08a81
100644
(file)
--- a/
tests/phpunit/includes/api/ApiQueryWatchlistIntegrationTest.php
+++ b/
tests/phpunit/includes/api/ApiQueryWatchlistIntegrationTest.php
@@
-228,16
+228,8
@@
class ApiQueryWatchlistIntegrationTest extends ApiTestCase {
}
}
}
}
- private function getTitleFormatter() {
- return new MediaWikiTitleCodec(
- Language::factory( 'en' ),
- MediaWikiServices::getInstance()->getGenderCache()
- );
- }
-
private function getPrefixedText( LinkTarget $target ) {
private function getPrefixedText( LinkTarget $target ) {
- $formatter = $this->getTitleFormatter();
- return $formatter->getPrefixedText( $target );
+ return MediaWikiServices::getInstance()->getTitleFormatter()->getPrefixedText( $target );
}
private function cleanTestUsersWatchlist() {
}
private function cleanTestUsersWatchlist() {