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: Prefer assertSame() when comparing the integer 0
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
site
/
CachingSiteStoreTest.php
diff --git
a/tests/phpunit/includes/site/CachingSiteStoreTest.php
b/tests/phpunit/includes/site/CachingSiteStoreTest.php
index
df12eba
..
fc04fb7
100644
(file)
--- a/
tests/phpunit/includes/site/CachingSiteStoreTest.php
+++ b/
tests/phpunit/includes/site/CachingSiteStoreTest.php
@@
-149,7
+149,7
@@
class CachingSiteStoreTest extends \MediaWikiIntegrationTestCase {
$this->assertNull( $site );
$sites = $store->getSites();
- $this->assert
Equals
( 0, $sites->count() );
+ $this->assert
Same
( 0, $sites->count() );
}
/**