Matěj Suchánek has uploaded a new change for review. (
https://gerrit.wikimedia.org/r/390597 )
Change subject: Make context also return the language
......................................................................
Make context also return the language
Change-Id: Iff4b96a9d9f7b1d4cfb202d329dcff8d2241cbaa
---
M repo/tests/phpunit/includes/Actions/HistoryEntityActionTest.php
1 file changed, 3 insertions(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Wikibase
refs/changes/97/390597/2
diff --git a/repo/tests/phpunit/includes/Actions/HistoryEntityActionTest.php
b/repo/tests/phpunit/includes/Actions/HistoryEntityActionTest.php
index cb881af..0a32fee 100644
--- a/repo/tests/phpunit/includes/Actions/HistoryEntityActionTest.php
+++ b/repo/tests/phpunit/includes/Actions/HistoryEntityActionTest.php
@@ -94,6 +94,9 @@
$context->method( 'getOutput' )
->willReturn( $output );
+ $context->method( 'getLanguage' )
+ ->willReturnCallback( [ $output, 'getLanguage' ] );
+
$output->expects( $this->once() )
->method( 'getContext' )
->willReturn( $context );
--
To view, visit https://gerrit.wikimedia.org/r/390597
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Iff4b96a9d9f7b1d4cfb202d329dcff8d2241cbaa
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: master
Gerrit-Owner: Matěj Suchánek <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits