dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add `actor` table and code to start using it
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
auth
/
CheckBlocksSecondaryAuthenticationProviderTest.php
diff --git
a/tests/phpunit/includes/auth/CheckBlocksSecondaryAuthenticationProviderTest.php
b/tests/phpunit/includes/auth/CheckBlocksSecondaryAuthenticationProviderTest.php
index
4e44547
..
81cdc9d
100644
(file)
--- a/
tests/phpunit/includes/auth/CheckBlocksSecondaryAuthenticationProviderTest.php
+++ b/
tests/phpunit/includes/auth/CheckBlocksSecondaryAuthenticationProviderTest.php
@@
-76,6
+76,7
@@
class CheckBlocksSecondaryAuthenticationProviderTest extends \MediaWikiTestCase
$blockOptions = [
'address' => 'UTBlockee',
'user' => $user->getID(),
$blockOptions = [
'address' => 'UTBlockee',
'user' => $user->getID(),
+ 'by' => $this->getTestSysop()->getUser()->getId(),
'reason' => __METHOD__,
'expiry' => time() + 100500,
'createAccount' => true,
'reason' => __METHOD__,
'expiry' => time() + 100500,
'createAccount' => true,
@@
-149,6
+150,7
@@
class CheckBlocksSecondaryAuthenticationProviderTest extends \MediaWikiTestCase
$blockOptions = [
'address' => '127.0.0.0/24',
'reason' => __METHOD__,
$blockOptions = [
'address' => '127.0.0.0/24',
'reason' => __METHOD__,
+ 'by' => $this->getTestSysop()->getUser()->getId(),
'expiry' => time() + 100500,
'createAccount' => true,
];
'expiry' => time() + 100500,
'createAccount' => true,
];