wiki.techinc.nl/tests/phpunit/structure
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
..
ApiPrefixUniquenessTest.php Revert "Separate MediaWiki unit and integration tests" 2019-06-13 23:00:08 +00:00
ApiStructureTest.php Exempt structure tests from @covers checks 2019-06-11 21:40:14 +00:00
AutoLoaderStructureTest.php AutoLoader: Skip tokenizing of irrelevant lines in ClassCollector 2019-06-19 15:09:49 +00:00
AvailableRightsTest.php Move User::getAllRights to PermissionManager. 2019-08-29 15:38:26 +02:00
ContentHandlerSanityTest.php Revert "Separate MediaWiki unit and integration tests" 2019-06-13 23:00:08 +00:00
DatabaseIntegrationTest.php Exempt structure tests from @covers checks 2019-06-11 21:40:14 +00:00
ExtensionJsonValidationTest.php tests: Replace PHPUnit's loose assertEquals(false) with assertFalse() 2019-10-04 00:30:36 +00:00
PasswordPolicyStructureTest.php Revert "Separate MediaWiki unit and integration tests" 2019-06-13 23:00:08 +00:00
ResourcesTest.php resourceloader: Remove slow structure test for checking getVersionHash 2019-08-01 15:33:23 +00:00
SpecialPageFatalTest.php Run SpecialPageFatalTest with lang=qqx 2019-07-08 14:52:06 +02:00
StructureTest.php Revert "Separate MediaWiki unit and integration tests" 2019-06-13 23:00:08 +00:00