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
/
api
/
ApiWatchTest.php
diff --git
a/tests/phpunit/includes/api/ApiWatchTest.php
b/tests/phpunit/includes/api/ApiWatchTest.php
index
6d64a17
..
24d016e
100644
(file)
--- a/
tests/phpunit/includes/api/ApiWatchTest.php
+++ b/
tests/phpunit/includes/api/ApiWatchTest.php
@@
-64,7
+64,7
@@
class ApiWatchTest extends ApiTestCase {
unset( $data[0]['query']['watchlist'][$index] );
}
}
- $this->assert
Equals
( 0, count( $data[0]['query']['watchlist'] ) );
+ $this->assert
Same
( 0, count( $data[0]['query']['watchlist'] ) );
return $data;
}