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 "selenium: add new message banner test to user spec"
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
site
/
SiteListTest.php
diff --git
a/tests/phpunit/includes/site/SiteListTest.php
b/tests/phpunit/includes/site/SiteListTest.php
index
f7d0117
..
a4a171c
100644
(file)
--- a/
tests/phpunit/includes/site/SiteListTest.php
+++ b/
tests/phpunit/includes/site/SiteListTest.php
@@
-99,7
+99,7
@@
class SiteListTest extends MediaWikiTestCase {
* @var Site $site
*/
foreach ( $sites as $site ) {
* @var Site $site
*/
foreach ( $sites as $site ) {
- if ( is_int
eger
( $site->getInternalId() ) ) {
+ if ( is_int( $site->getInternalId() ) ) {
$this->assertEquals( $site, $sites->getSiteByInternalId( $site->getInternalId() ) );
}
}
$this->assertEquals( $site, $sites->getSiteByInternalId( $site->getInternalId() ) );
}
}
@@
-155,7
+155,7
@@
class SiteListTest extends MediaWikiTestCase {
* @var Site $site
*/
foreach ( $sites as $site ) {
* @var Site $site
*/
foreach ( $sites as $site ) {
- if ( is_int
eger
( $site->getInternalId() ) ) {
+ if ( is_int( $site->getInternalId() ) ) {
$this->assertTrue( $site, $sites->hasInternalId( $site->getInternalId() ) );
}
}
$this->assertTrue( $site, $sites->hasInternalId( $site->getInternalId() ) );
}
}