wiki.techinc.nl/tests/phpunit/unit/includes
Petr Pchelko 339fd93f67 Make MovePageTest actually test valid moves
Before MovePageTest was skipped if the move was valid,
claiming we can't test actual moves. Now we can.

Additionally, use MediaTestTrait for file and repo
mocking.

Change-Id: Ie8a1edbdb2f22432919f03a60c2dacc5d4528615
2021-07-28 09:18:59 -07:00
..
actions Make ViewActionTest a pure unit test 2021-02-27 01:24:18 +00:00
api Move ApiWatchlistTraitTest back to unit tests 2021-07-06 20:37:45 +00:00
auth Hard deprecate the setters of AbstractAuthenticationProvider class 2021-05-31 13:02:39 +00:00
block Add UserNameUtils to DummyServicesTrait, and use it 2021-07-27 12:17:06 +00:00
cache LinkBatch: replace Title with PageReference in method signatures 2021-04-26 19:54:24 +02:00
changes build: Updating dependencies 2021-07-22 03:36:05 +00:00
composer
config Introduce includes/Storage/PageUpdaterFactory 2021-07-19 12:15:26 +02:00
content build: Updating dependencies 2021-07-22 03:36:05 +00:00
context Use CsrfTokenSet as CSRF token source 2021-07-12 14:19:15 -07:00
dao Give WikiAwareEntityTrait it's own unit tests. 2021-04-27 20:31:14 -07:00
db Convert MWLBFactoryTest to pure unit tests 2021-04-14 16:48:30 +00:00
debug build: Updating dependencies 2021-07-22 03:36:05 +00:00
deferred Tests: Mark more more closures as static 2021-02-09 02:55:57 +00:00
diff Remove meaningless ->expects( $this->any() ) from all tests 2021-04-23 11:58:58 +02:00
editpage Replace easy usages of User for UserIdentity/Authority 2021-06-09 07:53:52 -07:00
exception build: Updating dependencies 2021-07-22 03:36:05 +00:00
filebackend build: Updating dependencies 2021-07-22 03:36:05 +00:00
filerepo/file
GlobalFunctions Add missing @param and @return to documentation in tests 2021-01-22 19:57:25 +01:00
historyblob build: Updating dependencies 2021-07-22 03:36:05 +00:00
HookContainer build: Updating dependencies 2021-07-22 03:36:05 +00:00
htmlform Tests: Mark more more closures as static 2021-02-09 02:55:57 +00:00
http Move HttpRequestFactoryTest to a unit test 2021-06-02 13:20:02 +00:00
import WikiImporter: inject services 2021-05-24 23:10:07 +02:00
installer Remove "@group Database" from non-integration tests 2021-01-12 12:11:44 +00:00
interwiki build: Updating dependencies 2021-07-22 03:36:05 +00:00
jobqueue build: Updating dependencies 2021-07-22 03:36:05 +00:00
json Merge FormatJsonTest and FormatJsonUnitTest 2021-05-05 20:52:30 +00:00
language build: Updating dependencies 2021-07-22 03:36:05 +00:00
libs build: Updating dependencies 2021-07-22 03:36:05 +00:00
linker build: Updating dependencies 2021-07-22 03:36:05 +00:00
mail Convert or split some tests to MediaWikiUnitTestCase 2021-01-07 17:51:27 +00:00
media build: Updating dependencies 2021-07-22 03:36:05 +00:00
Message Convert ConverterTest to pure unit tests 2021-03-22 15:59:42 +00:00
objectcache build: Updating dependencies 2021-07-22 03:36:05 +00:00
page Clean up MergeHistory 2021-07-13 12:01:04 -07:00
ParamValidator/TypeDef NamespaceDefTest: stop calling getNamespaces() statically 2021-05-20 23:52:47 +00:00
parser Parser: remove Title from method signatures 2021-04-29 18:11:46 +02:00
password build: Updating dependencies 2021-07-22 03:36:05 +00:00
Permissions build: Updating dependencies 2021-07-22 03:36:05 +00:00
poolcounter phpunit: Mass-replace setMethods with onlyMethods and adjust 2021-04-16 20:15:00 +02:00
preferences build: Updating dependencies 2021-07-22 03:36:05 +00:00
registration Update Legoktm's email address 2021-05-02 05:39:37 +00:00
resourceloader build: Updating dependencies 2021-07-22 03:36:05 +00:00
Rest Make MovePageTest actually test valid moves 2021-07-28 09:18:59 -07:00
Revision Narrow PageUpdater dependency from Title 2021-07-26 19:45:11 -07:00
revisionlist
search phpunit: Mass-replace setMethods with onlyMethods and adjust 2021-04-16 20:15:00 +02:00
session Move CRSF token generation to CsrfTokenSet 2021-06-18 12:24:19 -07:00
shell Add support for multiple shellbox URLs through a mapping configuration 2021-06-21 14:14:44 +02:00
site Convert MediaWikiPageNameNormalizerTest to a pure unit test 2021-03-11 18:45:57 +00:00
skins build: Updating dependencies 2021-07-22 03:36:05 +00:00
Storage Merge "Narrow PageUpdater dependency from Title" 2021-07-27 21:38:53 +00:00
tidy Deprecate MWTidy and TidyDriverBase::supportsValidate() 2021-03-16 12:29:55 -07:00
title build: Upgrade mediawiki-codesniffer from v35.0.0 to v36.0.0 2021-04-29 13:00:15 -07:00
user Add UserNameUtils to DummyServicesTrait, and use it 2021-07-27 12:17:06 +00:00
utils build: Updating dependencies 2021-07-22 03:36:05 +00:00
watcheditem Reduce duplication in NoWriteWatchedItemStoreUnitTest 2021-07-23 08:07:46 +00:00
watchlist Add DummyServicesTrait::getDummyReadOnlyMode() 2021-07-05 07:16:13 +00:00
BadFileLookupTest.php build: Updating dependencies 2021-07-22 03:36:05 +00:00
DeprecatedGlobalTest.php build: Updating dependencies 2021-07-22 03:36:05 +00:00
DerivativeRequestTest.php
FactoryArgTestTrait.php Remove some more comments that literally repeat the code 2021-06-18 21:23:56 +00:00
FauxResponseTest.php build: Updating dependencies 2021-07-22 03:36:05 +00:00
FeedUtilsTest.php
FormOptionsInitializationTest.php build: Updating dependencies 2021-07-22 03:36:05 +00:00
FormOptionsTest.php Update docblock of FormOptionsTest 2021-01-12 12:04:12 +00:00
HeaderCallbackTest.php
LicensesTest.php More misc test cleanup 2020-12-24 00:52:06 +00:00
ListToggleTest.php Remove meaningless ->expects( $this->any() ) from all tests 2021-04-23 11:58:58 +02:00
MovePageTest.php build: Upgrade mediawiki-codesniffer from v35.0.0 to v36.0.0 2021-04-29 13:00:15 -07:00
PathRouterTest.php Remove PathRouterTest::$basicRouter, unused 2021-05-05 20:33:54 +00:00
PingbackTest.php Merge "Simplify and reduce duplication in PingbackTest" 2021-07-23 04:16:56 +00:00
ProxyLookupTest.php Add tests for ProxyLookup 2021-03-31 00:21:24 +00:00
SiteConfigurationTest.php build: Updating dependencies 2021-07-22 03:36:05 +00:00
TitleArrayFromResultTest.php Replace PHPUnit ->returnValue() with ->willReturn() shortcut 2021-04-22 10:37:45 +02:00
TitleTest.php Move some Title tests to unit tests 2021-07-09 23:18:57 +00:00
WikiReferenceTest.php Move WikiReferenceTest to a unit test 2021-05-02 10:00:52 +00:00
XmlJsTest.php More misc test cleanup 2020-12-24 00:52:06 +00:00
XmlSelectTest.php Minor cleanup to XmlSelectTest 2021-01-16 02:32:44 +00:00
XmlTest.php Move Xml::expandAttributes tests to unit tests 2021-03-07 19:27:11 +00:00