dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c483a26
)
Unregister hooks that interfere with unit testing
author
Huji Lee
<huji.huji@gmail.com>
Thu, 28 Sep 2017 15:20:45 +0000
(11:20 -0400)
committer
Huji Lee
<huji.huji@gmail.com>
Thu, 28 Sep 2017 15:22:16 +0000
(11:22 -0400)
Id7403f57cc9d751ada85b611193c1d8f3503e713 did not properly
reference the hook
Bug: T176102
Change-Id: Ibff72c0efe82ba6fd4458e3c8a96179f50ca21b0
tests/phpunit/includes/user/PasswordResetTest.php
patch
|
blob
|
history
diff --git
a/tests/phpunit/includes/user/PasswordResetTest.php
b/tests/phpunit/includes/user/PasswordResetTest.php
index
feae26a
..
68b7959
100644
(file)
--- a/
tests/phpunit/includes/user/PasswordResetTest.php
+++ b/
tests/phpunit/includes/user/PasswordResetTest.php
@@
-152,7
+152,7
@@
class PasswordResetTest extends MediaWikiTestCase {
// Unregister the hooks for proper unit testing
$this->mergeMwGlobalArrayValue( 'wgHooks', [
- 'mailPasswordInternal' => [],
+ '
User::
mailPasswordInternal' => [],
'SpecialPasswordResetOnSubmit' => [],
] );