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 config for serving main Page from the domain root"
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
user
/
UserTest.php
diff --git
a/tests/phpunit/includes/user/UserTest.php
b/tests/phpunit/includes/user/UserTest.php
index
2a4ba4b
..
f24255b
100644
(file)
--- a/
tests/phpunit/includes/user/UserTest.php
+++ b/
tests/phpunit/includes/user/UserTest.php
@@
-559,10
+559,10
@@
class UserTest extends MediaWikiTestCase {
$this->markTestSkippedIfDbType( 'postgres' );
$users = User::findUsersByGroup( [] );
$this->markTestSkippedIfDbType( 'postgres' );
$users = User::findUsersByGroup( [] );
- $this->assert
Equals
( 0, iterator_count( $users ) );
+ $this->assert
Same
( 0, iterator_count( $users ) );
$users = User::findUsersByGroup( 'foo' );
$users = User::findUsersByGroup( 'foo' );
- $this->assert
Equals
( 0, iterator_count( $users ) );
+ $this->assert
Same
( 0, iterator_count( $users ) );
$user = $this->getMutableTestUser( [ 'foo' ] )->getUser();
$users = User::findUsersByGroup( 'foo' );
$user = $this->getMutableTestUser( [ 'foo' ] )->getUser();
$users = User::findUsersByGroup( 'foo' );