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
Merge "Add checkDependencies.php"
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
api
/
ApiQueryUserInfoTest.php
diff --git
a/tests/phpunit/includes/api/ApiQueryUserInfoTest.php
b/tests/phpunit/includes/api/ApiQueryUserInfoTest.php
index
703c150
..
556818e
100644
(file)
--- a/
tests/phpunit/includes/api/ApiQueryUserInfoTest.php
+++ b/
tests/phpunit/includes/api/ApiQueryUserInfoTest.php
@@
-1,5
+1,7
@@
<?php
<?php
+use MediaWiki\Block\DatabaseBlock;
+
/**
* @group medium
* @covers ApiQueryUserInfo
/**
* @group medium
* @covers ApiQueryUserInfo
@@
-13,7
+15,7
@@
class ApiQueryUserInfoTest extends ApiTestCase {
'userinfo'
);
'userinfo'
);
- $block = new Block();
+ $block = new
Database
Block();
$info = $apiQueryUserInfo->getBlockInfo( $block );
$subset = [
'blockid' => null,
$info = $apiQueryUserInfo->getBlockInfo( $block );
$subset = [
'blockid' => null,
@@
-34,7
+36,7
@@
class ApiQueryUserInfoTest extends ApiTestCase {
'userinfo'
);
'userinfo'
);
- $block = new Block( [
+ $block = new
Database
Block( [
'sitewide' => false,
] );
$info = $apiQueryUserInfo->getBlockInfo( $block );
'sitewide' => false,
] );
$info = $apiQueryUserInfo->getBlockInfo( $block );