wiki.techinc.nl/tests/phpunit/unit/includes
Aryeh Gregor bc3d4e9bd3 Don't assume LocalSettings exists in unit tests
Because it doesn't necessarily, and in fact CI runs unit tests without a
LocalSettings! Of course, in this case the unit test won't correctly
test that $wgCacheEpoch is overridden by the time LocalSettings was
touched, but not much to do about that.

Bug: T306818
Change-Id: I14fcfb24d61f8b48161dec843372d3c3a0a0bc11
2022-04-25 21:12:49 +03:00
..
actions Merge "Use updated ObjectFactory namespace" 2022-03-12 00:19:53 +00:00
api Use updated ObjectFactory namespace 2022-03-09 23:04:51 +00:00
auth
block Expand BlockActionInfo test coverage 2022-03-28 00:49:30 +00:00
cache Fix pollution of LinkBatch/LinkCache with interwiki link 2022-01-28 10:52:38 +11:00
changes Remove some more comments that literally repeat the code 2021-12-09 19:01:36 +01:00
CommentFormatter Clean up tests that misused the parameters of assertSame/Equals 2022-02-08 07:21:10 +00:00
composer
config Merge "Simplify DnsSrvDiscoverer interface" 2022-02-17 15:16:44 +00:00
content Use updated ObjectFactory namespace 2022-03-09 23:04:51 +00:00
context
dao
db Add validation for abstract schema 2022-02-22 17:41:08 +00:00
debug Remove deprecated EventRelayerKafka and KafkaHandler 2022-03-25 00:07:22 +00:00
deferred
diff
editpage Improve error messages in EditFilterMergedContentHookConstraint 2022-03-22 14:53:02 +01:00
exception
filebackend Add convenience methods for asserting status. 2022-03-16 22:44:25 +01:00
filerepo/file
GlobalFunctions Refactor URL-parsing global functions to class 2022-04-12 15:14:35 +03:00
historyblob
HookContainer Use updated ObjectFactory namespace 2022-03-09 23:04:51 +00:00
htmlform Hard deprecate User::setOption() 2021-09-26 17:18:54 +02:00
http Clean up tests that misused the parameters of assertSame/Equals 2022-02-08 07:21:10 +00:00
import
installer Add convenience methods for asserting status. 2022-03-16 22:44:25 +01:00
interwiki
jobqueue
json Type hints for ArrayAccess and JsonSerializable 2022-04-11 15:06:27 +03:00
language tests: Change use of AtEase to at operator 2022-02-24 21:29:51 +00:00
libs Merge "GlobalIdGeneratorTest is not a unit test" 2022-04-24 17:19:29 +00:00
linker Add comment flag to LinkRenderer 2021-11-02 13:03:20 +01:00
mail
media Replace new stdClass with more compact array syntax 2021-11-02 09:43:03 +00:00
Message
objectcache
page UndeletePage: Improve reason when restoring assoc talk page 2022-04-14 21:49:23 -04:00
ParamValidator/TypeDef Merge "ParamValidator: Allow to use User:0 in UserDef" 2022-03-15 23:25:24 +00:00
parser Fix SignatureValidatorFactory circular dependency 2022-04-13 12:38:00 +10:00
password Add convenience methods for asserting status. 2022-03-16 22:44:25 +01:00
Permissions PermissionManager: Remove usage of protection related Title function 2022-04-14 22:10:24 +00:00
poolcounter
preferences Hard deprecate TitleFactory::newFromIDs and Title::newFromIDs 2021-11-29 14:23:26 -05:00
rcfeed rcfeed: Deprecate $wgRCEngines and RCFeedEngine 2022-03-08 19:50:19 +00:00
registration Integration test for extension registration 2022-03-11 21:43:41 +00:00
resourceloader phpcs: Disable Generic.Files.LineLength for test files 2022-02-18 18:32:05 +00:00
Rest Use new namespace for revision related classes 2022-04-14 23:03:43 +02:00
Revision Use new namespace for revision related classes 2022-04-14 23:03:43 +02:00
revisionlist
search
session
Settings tests: Rename fixtures/bad.json 2022-04-20 15:17:36 +01:00
shell ShellboxClientFactory: add RPCClient getters 2021-11-05 16:41:22 +00:00
site
skins Introduce SkinComponentSearch 2022-03-31 06:54:42 +00:00
Storage Use new namespace for revision related classes 2022-04-09 20:22:36 +02:00
tidy phpcs: Disable Generic.Files.LineLength for test files 2022-02-18 18:32:05 +00:00
title
user TempUser infrastructure and services 2022-04-14 09:23:55 +10:00
utils Refactor URL-parsing global functions to class 2022-04-12 15:14:35 +03:00
watcheditem Add more support for read new in links migration 2022-04-12 02:22:17 +02:00
watchlist Add convenience methods for asserting status. 2022-03-16 22:44:25 +01:00
BadFileLookupTest.php
DeprecatedGlobalTest.php
DerivativeRequestTest.php
FactoryArgTestTrait.php
FauxResponseTest.php remove access to config globals from FauxResponse 2022-01-28 22:45:36 +01:00
FeedUtilsTest.php
FormOptionsInitializationTest.php
FormOptionsTest.php
HeaderCallbackTest.php
LicensesTest.php
ListToggleTest.php Only apply transformations for &uselang=qqx when actually using it 2022-03-08 01:50:44 +00:00
MovePageTest.php Add convenience methods for asserting status. 2022-03-16 22:44:25 +01:00
PathRouterTest.php Clean up tests that misused the parameters of assertSame/Equals 2022-02-08 07:21:10 +00:00
PingbackTest.php
ProxyLookupTest.php
ReadOnlyModeTest.php
SetupDynamicConfigTest.php Don't assume LocalSettings exists in unit tests 2022-04-25 21:12:49 +03:00
SiteConfigurationTest.php SiteConfiguration: Don't pass null to str_replace() 2022-01-11 14:42:50 +01:00
TitleArrayFromResultTest.php Stop accessing members of the Title class publicly 2021-11-22 14:22:51 +00:00
TitleTest.php
WikiReferenceTest.php
XmlJsTest.php
XmlSelectTest.php
XmlTest.php