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
config: Add new ConfigRepository
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
TestUserRegistry.php
diff --git
a/tests/phpunit/includes/TestUserRegistry.php
b/tests/phpunit/includes/TestUserRegistry.php
index
0c178ca
..
24aee24
100644
(file)
--- a/
tests/phpunit/includes/TestUserRegistry.php
+++ b/
tests/phpunit/includes/TestUserRegistry.php
@@
-62,9
+62,7
@@
class TestUserRegistry {
sort( $groups );
$key = implode( ',', $groups );
sort( $groups );
$key = implode( ',', $groups );
- $testUser = isset( self::$testUsers[$key] )
- ? self::$testUsers[$key]
- : false;
+ $testUser = self::$testUsers[$key] ?? false;
if ( !$testUser || !$testUser->getUser()->isLoggedIn() ) {
$id = self::getNextId();
if ( !$testUser || !$testUser->getUser()->isLoggedIn() ) {
$id = self::getNextId();