wiki.techinc.nl/tests/phpunit/includes/changes
Thiemo Kreuz e4272518f7 tests: Replace PHPUnit's loose assertEquals(false) with assertFalse()
assertEquals( false, … ) still succeeds when the actual value is 0, null,
an empty string, even an empty array. All these should be reported as a
failure, I would argue.

Note this patch previously also touched assertSame( false ). I reverted
these. The only benefit would have been consistency within this codebase,
but there is no strict reason to prefer one over the other. assertFalse()
and assertSame( false ) are functionally identical.

Change-Id: Ic5f1c7d504e7249002d3184520012e03313137b4
2019-10-04 00:30:36 +00:00
..
CategoryMembershipChangeTest.php tests: Replace PHPUnit's loose assertEquals(null) with assertNull() 2019-09-27 19:15:38 +00:00
ChangesListBooleanFilterGroupTest.php
ChangesListBooleanFilterTest.php tests: Replace PHPUnit's loose assertEquals(false) with assertFalse() 2019-10-04 00:30:36 +00:00
ChangesListFilterTest.php
ChangesListStringOptionsFilterGroupTest.php
EnhancedChangesListTest.php tests: Prefer PHPUnit's assertSame() when comparing empty strings 2019-09-20 15:27:58 +00:00
OldChangesListTest.php i18n: Rename 11 messages for case-compliance 2019-05-18 16:39:49 +02:00
RCCacheEntryFactoryTest.php tests: Replace PHPUnit's loose assertEquals(false) with assertFalse() 2019-10-04 00:30:36 +00:00
RecentChangeTest.php Add missing newline between <?php and namespace/use section 2019-06-03 13:36:48 +00:00
TestRecentChangesHelper.php