jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/390850 )

Change subject: UserGroupsChanged hook should specify the performer of the 
change
......................................................................


UserGroupsChanged hook should specify the performer of the change

Otherwise, there will be a unit-testing error when Echo is enabled

Bug: T180292
Change-Id: Ibc185c82ad2a03e06e5727a633e6ab6bccce3345
---
M tests/phpunit/includes/auth/AuthPluginPrimaryAuthenticationProviderTest.php
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Gergő Tisza: Looks good to me, approved
  jenkins-bot: Verified



diff --git 
a/tests/phpunit/includes/auth/AuthPluginPrimaryAuthenticationProviderTest.php 
b/tests/phpunit/includes/auth/AuthPluginPrimaryAuthenticationProviderTest.php
index 6970313..82b0f82 100644
--- 
a/tests/phpunit/includes/auth/AuthPluginPrimaryAuthenticationProviderTest.php
+++ 
b/tests/phpunit/includes/auth/AuthPluginPrimaryAuthenticationProviderTest.php
@@ -73,7 +73,7 @@
                        );
                $provider = new AuthPluginPrimaryAuthenticationProvider( 
$plugin );
 
-               \Hooks::run( 'UserGroupsChanged', [ $user, [ 'added' ], [ 
'removed' ] ] );
+               \Hooks::run( 'UserGroupsChanged', [ $user, [ 'added' ], [ 
'removed' ], false, false, [], [] ] );
        }
 
        public function testOnUserLoggedIn() {

-- 
To view, visit https://gerrit.wikimedia.org/r/390850
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ibc185c82ad2a03e06e5727a633e6ab6bccce3345
Gerrit-PatchSet: 5
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Huji <[email protected]>
Gerrit-Reviewer: GergÅ‘ Tisza <[email protected]>
Gerrit-Reviewer: Huji <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to