jenkins-bot has submitted this change and it was merged. 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(-) Approvals: Tobias Gritschacher: Looks good to me, approved jenkins-bot: Verified 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: merged Gerrit-Change-Id: I55c7b7d6c2feb64d0ae02d528d40482921019c9c Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/Wikibase Gerrit-Branch: master Gerrit-Owner: Jeroen De Dauw <jeroended...@gmail.com> Gerrit-Reviewer: Addshore <addshorew...@gmail.com> Gerrit-Reviewer: Aude <aude.w...@gmail.com> Gerrit-Reviewer: Tobias Gritschacher <tobias.gritschac...@wikimedia.de> Gerrit-Reviewer: jenkins-bot _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits