Jeroen De Dauw has uploaded a new change for review.
https://gerrit.wikimedia.org/r/85531
Change subject: Remove some dead code from a test
......................................................................
Remove some dead code from a test
Change-Id: I55c7b7d6c2feb64d0ae02d528d40482921019c9c
---
M client/tests/phpunit/includes/parserhooks/PropertyParserFunctionTest.php
1 file changed, 0 insertions(+), 3 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Wikibase
refs/changes/31/85531/1
diff --git
a/client/tests/phpunit/includes/parserhooks/PropertyParserFunctionTest.php
b/client/tests/phpunit/includes/parserhooks/PropertyParserFunctionTest.php
index 4b24dbe..7077346 100644
--- a/client/tests/phpunit/includes/parserhooks/PropertyParserFunctionTest.php
+++ b/client/tests/phpunit/includes/parserhooks/PropertyParserFunctionTest.php
@@ -32,11 +32,8 @@
class PropertyParserFunctionTest extends \PHPUnit_Framework_TestCase {
private function getDefaultInstance() {
- $wikibaseClient = WikibaseClient::getDefaultInstance();
-
$targetLanguage = \Language::factory( 'en' );
$errorFormatter = new ParserErrorMessageFormatter(
$targetLanguage );
- $dataTypeFactory = $wikibaseClient->getDataTypeFactory();
$mockRepo = $this->newMockRepository();
$mockResolver = new MockPropertyLabelResolver(
$targetLanguage->getCode(), $mockRepo );
--
To view, visit https://gerrit.wikimedia.org/r/85531
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I55c7b7d6c2feb64d0ae02d528d40482921019c9c
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: master
Gerrit-Owner: Jeroen De Dauw <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits