wiki.techinc.nl/tests/phpunit/includes
Tim Starling 00c8a5cbde In Database::select() allow an empty array for $table
Previously it would give FROM followed by nothing which is always a
syntax error. Easier to fix it here than to convert empty arrays to
empty strings in SelectQueryBuilder.

Bug: T243051
Change-Id: I95a9b6a34cfb5c1ca4cf243c4226b5ed4f968035
2020-02-07 09:57:27 +11:00
..
actions Manual fix of the remaining assertInternalType & Co. 2019-12-15 00:20:10 +00:00
api Move some validation logic from ApiStructureTest to ParamValidator 2020-02-04 20:29:35 +00:00
auth Coding style: Auto-fix MediaWiki.Classes.UnsortedUseStatements.UnsortedUse 2020-01-10 09:32:25 -08:00
block Coding style: Auto-fix MediaWiki.Classes.UnsortedUseStatements.UnsortedUse 2020-01-10 09:32:25 -08:00
cache Add LinkBatchFactory to inject services into LinkBatch 2020-01-06 17:02:31 +01:00
changes Coding style: Auto-fix MediaWiki.Usage.PHPUnit* 2020-01-10 10:17:12 +00:00
changetags tests: Add explicit return type void to setUp() and tearDown() 2019-10-30 14:31:22 -07:00
collation tests: Add explicit return type void to setUp() and tearDown() 2019-10-30 14:31:22 -07:00
config Follow-up Ifa346c8a92: LanguageNameUtils: CONSTRUCTOR_OTPIONS, not constructorOptions 2019-10-10 17:01:49 -07:00
content Merge "JsonContent: align object key cells at the top" 2020-01-24 00:16:28 +00:00
context Coding style: Auto-fix MediaWiki.Usage.PHPUnit* 2020-01-10 10:17:12 +00:00
db Coding style: Auto-fix MediaWiki.Classes.UnsortedUseStatements.UnsortedUse 2020-01-10 09:32:25 -08:00
debug parser: Inject a LanguageConverterFactory through DI containers: 2020-02-04 14:42:03 +02:00
deferred tests: Add explicit return type void to setUp() and tearDown() 2019-10-30 14:31:22 -07:00
diff Fix most PHPUnit 8 compat issues in DBless tests 2019-12-15 00:24:21 +00:00
editpage Autofix 94 PHPUnit 8 compat issues 2019-12-13 15:29:10 +01:00
exception Fix most PHPUnit 8 compat issues in DBless tests 2019-12-15 00:24:21 +00:00
externalstore Coding style: Auto-fix MediaWiki.Usage.PHPUnit* 2020-01-10 10:17:12 +00:00
filebackend Coding style: Auto-fix MediaWiki.Usage.PHPUnit* 2020-01-10 10:17:12 +00:00
filerepo Add core REST API endpoint for media links 2020-01-22 15:10:44 -06:00
GlobalFunctions Coding style: Auto-fix MediaWiki.Usage.PHPUnit* 2020-01-10 10:17:12 +00:00
htmlform Stop using assertContains with string haystack 2019-12-15 00:22:44 +00:00
http Coding style: Auto-fix MediaWiki.Classes.UnsortedUseStatements.UnsortedUse 2020-01-10 09:32:25 -08:00
import tests: Add explicit return type void to setUp() and tearDown() 2019-10-30 14:31:22 -07:00
interwiki Remove Language::factory and getParentLanguage use 2019-10-27 12:34:28 +02:00
jobqueue Coding style: Auto-fix MediaWiki.Usage.PHPUnit* 2020-01-10 10:17:12 +00:00
language languages: Introduce LanguageConverterFactory 2020-02-03 11:38:03 +02:00
libs In Database::select() allow an empty array for $table 2020-02-07 09:57:27 +11:00
linkeddata Fix most PHPUnit 8 compat issues in DBless tests 2019-12-15 00:24:21 +00:00
linker tests: Add explicit return type void to setUp() and tearDown() 2019-10-30 14:31:22 -07:00
logging Stop using assertContains with string haystack 2019-12-15 00:22:44 +00:00
mail
media Replace complicated assertions with assertIsString() and such 2020-01-28 19:17:58 +00:00
Message MediaWiki\Message: Extract Message↔MessageValue conversion from TextFormatter 2019-11-26 08:58:05 +00:00
Navigation Coding style: Auto-fix MediaWiki.Classes.UnsortedUseStatements.UnsortedUse 2020-01-10 09:32:25 -08:00
objectcache tests: Add explicit return type void to setUp() and tearDown() 2019-10-30 14:31:22 -07:00
page Add core REST API endpoint for media links 2020-01-22 15:10:44 -06:00
pager tests: Replace PHPUnit's loose assertEquals(null) with assertNull() 2019-09-27 19:15:38 +00:00
ParamValidator/TypeDef Move some validation logic from ApiStructureTest to ParamValidator 2020-02-04 20:29:35 +00:00
parser parser: Inject a LanguageConverterFactory through DI containers: 2020-02-04 14:42:03 +02:00
password Password policy to check if a password is a substring of a username 2020-01-13 23:09:13 +00:00
Permissions Coding style: Auto-fix MediaWiki.Usage.IsNull.IsNull 2020-01-10 14:17:13 -08:00
poolcounter Fixes for PHPUnit 8 compat in DB suite 2019-12-15 00:27:54 +00:00
preferences parser: Inject a LanguageConverterFactory through DI containers: 2020-02-04 14:42:03 +02:00
rcfeed tests: Add explicit return type void to setUp() and tearDown() 2019-10-30 14:31:22 -07:00
registration registration: Implement lazy-loaded attributes 2019-12-15 19:04:50 +00:00
resourceloader Deprecate access of logos directly from config, introduce wgLogos 2020-02-04 01:56:20 +00:00
Rest Coding style: Auto-fix MediaWiki.Classes.UnsortedUseStatements.UnsortedUse 2020-01-10 09:32:25 -08:00
Revision Merge "RevisionStore: fail on mismatching hash or size." 2020-02-03 20:25:36 +00:00
search Replace complicated assertions with assertIsString() and such 2020-01-28 19:17:58 +00:00
session Coding style: Auto-fix MediaWiki.Classes.UnsortedUseStatements.UnsortedUse 2020-01-10 09:32:25 -08:00
shell Manual fix of the remaining assertInternalType & Co. 2019-12-15 00:20:10 +00:00
site Replace complicated assertions with assertIsString() and such 2020-01-28 19:17:58 +00:00
skins Replace some oldskool @see with @inheritDoc 2019-11-08 18:00:27 +00:00
sparql Coding style: Auto-fix MediaWiki.Usage.IsNull.IsNull 2020-01-10 14:17:13 -08:00
specialpage Autofix 94 PHPUnit 8 compat issues 2019-12-13 15:29:10 +01:00
specials Coding style: Auto-fix MediaWiki.Classes.UnsortedUseStatements.UnsortedUse 2020-01-10 09:32:25 -08:00
Storage Coding style: Auto-fix MediaWiki.Classes.UnsortedUseStatements.UnsortedUse 2020-01-10 09:32:25 -08:00
title Coding style: Auto-fix MediaWiki.Usage.IsNull.IsNull 2020-01-10 14:17:13 -08:00
upload Create tests for UploadFromUrl::isAllowedHost 2020-01-19 20:22:37 +02:00
user Add more tests for the user class (factory and preferences mostly) 2020-02-02 07:55:06 +00:00
utils Provide UIDgenerator::getTimestampFromUUIDv1 method 2020-01-21 13:26:13 -08:00
watcheditem Coding style: Auto-fix MediaWiki.Usage.PHPUnit* 2020-01-10 10:17:12 +00:00
ActorMigrationTest.php Replace complicated assertions with assertIsString() and such 2020-01-28 19:17:58 +00:00
ActorMigrationTest.sql Mostly drop old pre-actor user schemas 2019-09-09 11:38:36 -04:00
AutoLoaderTest.php tests: Add explicit return type void to setUp() and tearDown() 2019-10-30 14:31:22 -07:00
AutopromoteTest.php Kill the remaining usages of PHPUnit4And6Compat methods 2019-10-06 10:12:54 +00:00
CategoryTest.php tests: Add explicit return type void to setUp() and tearDown() 2019-10-30 14:31:22 -07:00
CommentStoreCommentTest.php Revert "Separate MediaWiki unit and integration tests" 2019-06-13 23:00:08 +00:00
CommentStoreTest.php Replace complicated assertions with assertIsString() and such 2020-01-28 19:17:58 +00:00
CommentStoreTest.sql Mostly drop old comment schemas 2019-02-07 16:59:27 +11:00
ContentSecurityPolicyTest.php tests: Add explicit return type void to setUp() and tearDown() 2019-10-30 14:31:22 -07:00
DeprecatedGlobalTest.php tests: Add explicit return type void to setUp() and tearDown() 2019-10-30 14:31:22 -07:00
DiffHistoryBlobTest.php tests: Add explicit return type void to setUp() and tearDown() 2019-10-30 14:31:22 -07:00
EditPageTest.php tests: Add explicit return type void to setUp() and tearDown() 2019-10-30 14:31:22 -07:00
ExportTest.php tests: Add explicit return type void to setUp() and tearDown() 2019-10-30 14:31:22 -07:00
ExtraParserTest.php Stop using assertContains with string haystack 2019-12-15 00:22:44 +00:00
FauxRequestTest.php Replace complicated assertions with assertIsString() and such 2020-01-28 19:17:58 +00:00
GitInfoTest.php Coding style: Auto-fix MediaWiki.Usage.PHPUnit* 2020-01-10 10:17:12 +00:00
HooksTest.php tests: Add explicit return type void to setUp() and tearDown() 2019-10-30 14:31:22 -07:00
HtmlTest.php tests: Add explicit return type void to setUp() and tearDown() 2019-10-30 14:31:22 -07:00
LinkerTest.php Stop using assertContains with string haystack 2019-12-15 00:22:44 +00:00
LinkFilterTest.php tests: Add explicit return type void to setUp() and tearDown() 2019-10-30 14:31:22 -07:00
ListToggleTest.php Remove Language::factory and getParentLanguage use 2019-10-27 12:34:28 +02:00
MagicWordFactoryTest.php Autofix 94 PHPUnit 8 compat issues 2019-12-13 15:29:10 +01:00
MediaWikiServicesTest.php Autofix 94 PHPUnit 8 compat issues 2019-12-13 15:29:10 +01:00
MediaWikiTest.php tests: Add explicit return type void to setUp() and tearDown() 2019-10-30 14:31:22 -07:00
MediaWikiVersionFetcherTest.php Unset all globals unneeded for unit tests, assert correct directory 2019-07-09 14:09:29 -04:00
MergeHistoryTest.php Don't use new MCR schema without using DB 2019-08-13 17:05:24 +03:00
MessageTest.php tests: Add explicit return type void to setUp() and tearDown() 2019-10-30 14:31:22 -07:00
MovePageTest.php Merge "Add target page as a parameter to articleexists message" 2020-01-02 21:08:50 +00:00
MultiHttpClientTest.php tests: Add explicit return type void to setUp() and tearDown() 2019-10-30 14:31:22 -07:00
MWTimestampTest.php tests: Add explicit return type void to setUp() and tearDown() 2019-10-30 14:31:22 -07:00
OutputPageTest.php Deprecate access of logos directly from config, introduce wgLogos 2020-02-04 01:56:20 +00:00
PagePropsTest.php Remove duplicate variable name from class property PHPDocs 2019-12-02 12:58:29 +00:00
PrefixSearchTest.php tests: Add explicit return type void to setUp() and tearDown() 2019-10-30 14:31:22 -07:00
ReadOnlyModeTest.php Don't pass Config to service constructors 2019-05-02 11:33:56 +03:00
RevisionDbTestBase.php Replace complicated assertions with assertIsString() and such 2020-01-28 19:17:58 +00:00
RevisionMcrDbTest.php tests: Add explicit return type void to setUp() and tearDown() 2019-10-30 14:31:22 -07:00
RevisionMcrReadNewDbTest.php Normalize use of "INNER JOIN" to "JOIN" in database queries 2019-03-06 09:17:30 -08:00
RevisionMcrWriteBothDbTest.php Add missing newline between <?php and namespace/use section 2019-06-03 13:36:48 +00:00
RevisionTest.php Backwards-compatible PHPUnit 8 preparations 2019-11-02 12:40:07 -07:00
RevisionTestModifyableContent.php
RevisionTestModifyableContentHandler.php
SampleTest.php tests: Add explicit return type void to setUp() and tearDown() 2019-10-30 14:31:22 -07:00
SiteStatsTest.php Add public as visibility in tests folder 2019-10-10 21:55:37 +02:00
StatusTest.php Autofix 94 PHPUnit 8 compat issues 2019-12-13 15:29:10 +01:00
SystemBlockTest.php Separate Block into AbstractBlock, Block and SystemBlock 2019-05-07 17:36:31 -05:00
TemplateCategoriesTest.php Re-apply: Factors out permissions check from User into PermissionManager service 2019-06-28 13:19:38 -07:00
TemplateParserTest.php TemplateParserTest: Add test case with syntax error 2020-01-29 23:15:53 +00:00
TestLocalisationCache.php Make LocalisationCache a service 2019-10-07 13:18:47 -07:00
TestLogger.php Use [...] instead of array(...) in PHP comments and documentation 2019-06-17 21:15:09 +02:00
TestUser.php Drop last bits of oracle 2019-08-14 23:44:22 +02:00
TestUserRegistry.php Add missing @param and @return to documentation 2019-11-16 13:45:55 +01:00
TimeAdjustTest.php tests: Add explicit return type void to setUp() and tearDown() 2019-10-30 14:31:22 -07:00
TitleMethodsTest.php tests: Add explicit return type void to setUp() and tearDown() 2019-10-30 14:31:22 -07:00
TitlePermissionTest.php Coding style: Auto-fix MediaWiki.Usage.PHPUnit* 2020-01-10 10:17:12 +00:00
TitleTest.php Coding style: Auto-fix MediaWiki.Usage.PHPUnit* 2020-01-10 10:17:12 +00:00
WebRequestTest.php Fix most PHPUnit 8 compat issues in DBless tests 2019-12-15 00:24:21 +00:00
WikiMapTest.php tests: Add explicit return type void to setUp() and tearDown() 2019-10-30 14:31:22 -07:00
WikiReferenceTest.php phpunit: Repair GLOBALS reset in MediaWikiUnitTestCase 2019-09-02 20:58:34 +01:00
XmlTest.php Coding style: Auto-fix MediaWiki.Usage.PHPUnit* 2020-01-10 10:17:12 +00:00