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
Remove hard deprecation of PasswordPolicyChecks::checkPopularPasswordBlacklist
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
api
/
ApiQueryInfoTest.php
diff --git
a/tests/phpunit/includes/api/ApiQueryInfoTest.php
b/tests/phpunit/includes/api/ApiQueryInfoTest.php
index
3aaad48
..
5da618e
100644
(file)
--- a/
tests/phpunit/includes/api/ApiQueryInfoTest.php
+++ b/
tests/phpunit/includes/api/ApiQueryInfoTest.php
@@
-1,5
+1,7
@@
<?php
<?php
+use MediaWiki\Block\DatabaseBlock;
+
/**
* @group API
* @group medium
/**
* @group API
* @group medium
@@
-102,7
+104,7
@@
class ApiQueryInfoTest extends ApiTestCase {
$badActor = $this->getTestUser()->getUser();
$sysop = $this->getTestSysop()->getUser();
$badActor = $this->getTestUser()->getUser();
$sysop = $this->getTestSysop()->getUser();
- $block = new
\
Block( [
+ $block = new
Database
Block( [
'address' => $badActor->getName(),
'user' => $badActor->getId(),
'by' => $sysop->getId(),
'address' => $badActor->getName(),
'user' => $badActor->getId(),
'by' => $sysop->getId(),