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
/
db
/
LBFactoryTest.php
diff --git
a/tests/phpunit/includes/db/LBFactoryTest.php
b/tests/phpunit/includes/db/LBFactoryTest.php
index
f00499f
..
c018744
100644
(file)
--- a/
tests/phpunit/includes/db/LBFactoryTest.php
+++ b/
tests/phpunit/includes/db/LBFactoryTest.php
@@
-412,7
+412,7
@@
class LBFactoryTest extends MediaWikiTestCase {
$cpIndex = null;
$cp->shutdown( null, 'sync', $cpIndex );
$cpIndex = null;
$cp->shutdown( null, 'sync', $cpIndex );
- $this->assert
Equals( null,
$cpIndex, "CP write index retained" );
+ $this->assert
Null(
$cpIndex, "CP write index retained" );
$this->assertEquals( '45e93a9c215c031d38b7c42d8e4700ca', $cp->getClientId() );
}
$this->assertEquals( '45e93a9c215c031d38b7c42d8e4700ca', $cp->getClientId() );
}