wiki.techinc.nl/tests/phpunit/includes/changes
Thiemo Kreuz c2211946f7 tests: Replace PHPUnit's loose assertEquals(null) with assertNull()
assertEquals( null, … ) still succeeds when the actual value is 0, false,
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( null ). 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. assertNull()
and assertSame( null ) are functionally identical.

Change-Id: I92102e833a8bc6af90b9516826abf111e2b79aac
2019-09-27 19:15:38 +00:00
..
CategoryMembershipChangeTest.php tests: Replace PHPUnit's loose assertEquals(null) with assertNull() 2019-09-27 19:15:38 +00:00
ChangesListBooleanFilterGroupTest.php RCFilters: Allows specifying default highlights from the server 2017-10-04 13:51:23 -07:00
ChangesListBooleanFilterTest.php RCFilters: Allows specifying default highlights from the server 2017-10-04 13:51:23 -07:00
ChangesListFilterTest.php build: Updating mediawiki/mediawiki-codesniffer to 15.0.0 2018-01-01 14:10:16 +01:00
ChangesListStringOptionsFilterGroupTest.php Remove @dataProvider and @covers from non-test functions 2018-03-18 22:22:43 +00:00
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: Prefer assertSame() when comparing the integer 0 2019-09-19 15:35:23 +00:00
RecentChangeTest.php Add missing newline between <?php and namespace/use section 2019-06-03 13:36:48 +00:00
TestRecentChangesHelper.php Add comment table and code to start using it 2017-08-30 15:05:00 +10:00