wiki.techinc.nl/tests/phpunit/includes/content
Thiemo Kreuz e06ce9f467 tests: Prefer PHPUnit's assertSame() when comparing empty strings
assertSame() is guaranteed to never do any magic type conversion.
This can be critical when accidentially comparing empty strings (a
value PHP considers to be "falsy") to false, 0, 0.0, null, and such.

Change-Id: I2e2685c5992cae252f629a68ffe1a049f2e5ed1b
2019-09-20 15:27:58 +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 Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
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 Avoid a few overly complicated is_null() checks 2019-03-11 10:29:20 +01:00
WikitextStructureTest.php Preserve whitespace in search index text content 2018-09-14 11:10:35 -07:00