mediawiki-extensions-Echo/tests/phpunit/unit
Thiemo Kreuz bc3dabf828 Prefer strict assertSame() for all numeric assertions
assertEquals() does not compare the type. It can not only be a float,
it can even be a string. E.g. 9 and '9' are considered equal.

Worst case scenarios are:
* 0 is considered equal to any "falsy" value, including the empty
string.
* 1 is considered equal to true.

assertSame() does not have any of these confusing edge-cases.

Change-Id: Ib6af0fefbbd8856adcf27844bb8ddd8e33ed3f9d
2019-10-23 12:28:30 +02:00
..
gateway Prefer strict assertSame() for all numeric assertions 2019-10-23 12:28:30 +02:00
iterator Move unit tests to the new structure 2019-07-12 18:22:52 +02:00
mapper Drop old PHPUnit rudiments 2019-10-04 20:54:45 -07:00
model Move unit tests to the new structure 2019-07-12 18:22:52 +02:00
BundlerTest.php Move unit tests to the new structure 2019-07-12 18:22:52 +02:00
DiffParserTest.php Move unit tests to the new structure 2019-07-12 18:22:52 +02:00