wiki.techinc.nl/tests/phpunit/includes/content
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
..
ContentHandlerTest.php tests: Prefer PHPUnit's assertSame() when comparing empty strings 2019-09-20 15:27:58 +00:00
CssContentHandlerTest.php Recognize CSS/JS redirects with non-ASCII targets 2018-10-31 23:09:50 -07:00
CssContentTest.php Recognize CSS/JS redirects with non-ASCII targets 2018-10-31 23:09:50 -07:00
FileContentHandlerTest.php
JavaScriptContentHandlerTest.php Recognize CSS/JS redirects with non-ASCII targets 2018-10-31 23:09:50 -07:00
JavaScriptContentTest.php Deprecate Content::getNativeData, add TextContent::getText 2019-01-16 11:57:50 -08:00
JsonContentTest.php Remove "Squiz.WhiteSpace.FunctionSpacing" from phpcs exclusions 2019-05-11 02:44:26 +01:00
MessageContentTest.php Add some missing @covers tags 2019-02-02 21:53:40 -08:00
TextContentHandlerTest.php Fix order of @var parameter in PHP 2019-04-08 18:37:56 +02:00
TextContentTest.php Add some missing @covers tags 2019-02-02 21:53:40 -08:00
UnknownContentHandlerTest.php tests: Prefer PHPUnit's assertSame() when comparing empty strings 2019-09-20 15:27:58 +00:00
UnknownContentTest.php tests: Prefer PHPUnit's assertSame() when comparing empty strings 2019-09-20 15:27:58 +00:00
WikitextContentHandlerTest.php tests: Prefer PHPUnit's assertSame() when comparing empty strings 2019-09-20 15:27:58 +00:00
WikitextContentTest.php tests: Replace PHPUnit's loose assertEquals(null) with assertNull() 2019-09-27 19:15:38 +00:00
WikitextStructureTest.php Preserve whitespace in search index text content 2018-09-14 11:10:35 -07:00