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
tests: Replace PHPUnit's loose assertEquals(null) with assertNull()
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
session
/
CookieSessionProviderTest.php
diff --git
a/tests/phpunit/includes/session/CookieSessionProviderTest.php
b/tests/phpunit/includes/session/CookieSessionProviderTest.php
index
33bc29f
..
3eb7498
100644
(file)
--- a/
tests/phpunit/includes/session/CookieSessionProviderTest.php
+++ b/
tests/phpunit/includes/session/CookieSessionProviderTest.php
@@
-376,7
+376,7
@@
class CookieSessionProviderTest extends MediaWikiTestCase {
] );
$request = new \FauxRequest();
- $this->assert
Equals( null,
$provider->suggestLoginUsername( $request ) );
+ $this->assert
Null(
$provider->suggestLoginUsername( $request ) );
$request->setCookies( [
'xUserName' => 'Example',