wiki.techinc.nl/tests/phpunit/includes
James D. Forrester 0db10b84b0 tests: Assert that the user who deleted a page is logged as such
These tests are rather basic, but they're better than the nothing that
seems to be the current state. Revision deletion is still untested and
suppression is only very lightly tested. More tests should be added.

Bug: T188479
Bug: T188773
Change-Id: Iba0f41ffddc6af45e0a4be86176708160f4821f4
2018-04-26 00:49:00 +00:00
..
actions build: Updating mediawiki/mediawiki-codesniffer to 17.0.0 2018-03-29 21:53:10 +02:00
api API: Remove 1e3>1 test case from ApiBaseTest 2018-04-18 23:12:06 +00:00
auth AuthManagerTest: Fix for PHPUnit 6 2018-04-12 13:29:00 -04:00
cache Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
changes Remove @dataProvider and @covers from non-test functions 2018-03-18 22:22:43 +00:00
changetags Add new core tags 2017-11-30 10:29:58 -08:00
collation Merge "Add collation for Abkhaz (ab)" 2018-01-23 18:42:29 +00:00
composer tests: Enable PHPUnit 4/6 compat layer in some tests that need it 2018-04-07 19:31:24 -07:00
config tests: Enable PHPUnit 4/6 compat layer in some tests that need it 2018-04-07 19:31:24 -07:00
content RFC T157418: Trim whitespace in table cells, list items, headings 2018-03-16 13:42:55 -05:00
context
db rdbms: make sure cpPosIndex cookie is applied to LBFactory in time 2018-04-23 15:44:02 +00:00
debug Fix KafkaHandlerTest hack to work with PHPUnit 6 2018-04-12 09:49:54 -07:00
deferred Merge "Replace wfGetLBFactory" 2018-03-09 11:33:10 +00:00
diff Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
editpage Use Sanitizer::mergeAttributes when merging classes into attributes 2018-01-05 10:32:56 +01:00
exception Don't write exceptions to STDERR from BadTitleErrorTest or ThrottledErrorTest 2018-02-16 09:01:51 +00:00
externalstore build: Updating mediawiki/mediawiki-codesniffer to 16.0.0 2018-02-17 13:29:13 +01:00
filebackend Update suppressWarning()/restoreWarning() calls 2018-02-10 08:50:12 +00:00
filerepo Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
GlobalFunctions build: Updating mediawiki/mediawiki-codesniffer to 16.0.0 2018-02-17 13:29:13 +01:00
htmlform build: Updating mediawiki/mediawiki-codesniffer to 17.0.0 2018-03-29 21:53:10 +02:00
http phpunit: Add some @covers and @large/@medium to integration tests 2018-03-20 09:14:34 -07:00
import build: Updating mediawiki/mediawiki-codesniffer to 17.0.0 2018-03-29 21:53:10 +02:00
installer Move @group and @covers tags in tests close to class 2018-01-28 13:30:07 +01:00
interwiki Move phpunit @group from file comment to class comment 2018-03-10 11:48:28 +01:00
jobqueue rdbms: rename CONN_TRX_AUTO constant to CONN_TRX_AUTOCOMMIT 2018-04-12 13:01:52 -07:00
json Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
libs rdbms: make IDatabase::onTransaction* methods pass the DB handle for convenience 2018-04-24 16:45:11 -07:00
linkeddata Remove various redundant '@license' tags in file headers 2018-01-12 18:15:11 +00:00
linker
logging Introduce DatabaseLogEntry::newFromId 2018-03-05 16:37:23 -08:00
mail mail: Always quote uncoded names in MailAddress 2018-04-24 21:29:25 +00:00
media Move phpunit @group from file comment to class comment 2018-03-10 11:48:28 +01:00
objectcache build: Updating mediawiki/mediawiki-codesniffer to 16.0.0 2018-02-17 13:29:13 +01:00
page tests: Assert that the user who deleted a page is logged as such 2018-04-26 00:49:00 +00:00
pager Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
parser Default installations to using RemexHtml for tidying 2018-04-10 10:51:34 -07:00
password Add actor table and code to start using it 2018-02-23 10:06:20 -08:00
poolcounter Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
preferences Use wikimedia/object-factory 1.0.0 2018-02-04 12:52:44 -08:00
rcfeed build: Updating mediawiki/mediawiki-codesniffer to 17.0.0 2018-03-29 21:53:10 +02:00
registration Merge "Handle extension dependencies in the installer" 2018-04-17 15:18:39 +00:00
resourceloader Merge "Introduce ResourceLoaderLessVarFileModule" 2018-04-26 00:16:09 +00:00
search build: Updating mediawiki/mediawiki-codesniffer to 16.0.0 2018-02-17 13:29:13 +01:00
services tests: Enable PHPUnit 4/6 compat layer in some tests that need it 2018-04-07 19:31:24 -07:00
session Merge "Update suppressWarning()/restoreWarning() calls" 2018-02-11 22:06:29 +00:00
shell Deprecate wfShellWikiCmd() 2018-04-16 16:38:05 +00:00
site tests: Enable PHPUnit 4/6 compat layer in some tests that need it 2018-04-07 19:31:24 -07:00
skins Move @group and @covers tags in tests close to class 2018-01-28 13:30:07 +01:00
sparql tests: Enable PHPUnit 4/6 compat layer in some tests that need it 2018-04-07 19:31:24 -07:00
specialpage RCFilters: Convert patrolled filter to three states 2018-04-11 10:59:06 -07:00
specials build: Updating mediawiki/mediawiki-codesniffer to 17.0.0 2018-03-29 21:53:10 +02:00
Storage Merge "Drop archive.ar_text and ar_flags" 2018-04-23 20:15:26 +00:00
tidy build: Updating mediawiki/mediawiki-codesniffer to 15.0.0 2018-01-01 14:10:16 +01:00
title Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
upload Update declaration of UploadFromUrlTest::doApiRequest 2018-04-10 13:54:52 -07:00
user Merge "Add missing return types to User::getOption()" 2018-03-23 01:41:28 +00:00
utils Make BatchRowUpdateTest compatible with PHPUnit 6 2018-04-12 20:33:41 +00:00
watcheditem Use constants for rc_patrolled values instead of numbers 2018-04-13 23:56:35 +02:00
ActorMigrationTest.php Add actor table and code to start using it 2018-02-23 10:06:20 -08:00
AutopromoteTest.php Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
BlockTest.php Add actor table and code to start using it 2018-02-23 10:06:20 -08:00
CommentStoreTest.php Add actor table and code to start using it 2018-02-23 10:06:20 -08:00
DeprecatedGlobalTest.php phpunit: Fix failing DeprecatedGlobalTest on HHVM at Travis CI 2017-07-28 18:30:32 -07:00
DiffHistoryBlobTest.php
EditPageTest.php Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
ExportTest.php
ExtraParserTest.php Add 'unwrap' ParserOutput post-cache transform 2018-02-01 14:24:27 -08:00
FauxRequestTest.php tests: Enable PHPUnit 4/6 compat layer in some tests that need it 2018-04-07 19:31:24 -07:00
FauxResponseTest.php
FormOptionsInitializationTest.php
FormOptionsTest.php
GitInfoTest.php Improve GitInfo for reading packed refs 2017-10-02 03:47:33 +00:00
HooksTest.php HooksTest: Covers Hooks::callHook too 2018-01-02 00:19:21 -08:00
HtmlTest.php Remove very, very old disabled test cases and todos 2017-12-28 18:44:31 +00:00
LicensesTest.php Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
LinkerTest.php Move @group and @covers tags in tests close to class 2018-01-28 13:30:07 +01:00
LinkFilterTest.php Add @covers tags to miscellaneous tests 2017-12-24 23:29:00 -08:00
ListToggleTest.php Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
MediaWikiServicesTest.php MediaWikiServicesTest::testDisableStorageBackend: Make PHPUnit6 happy 2018-04-12 15:29:56 -07:00
MediaWikiTest.php
MediaWikiVersionFetcherTest.php build: Updating mediawiki/mediawiki-codesniffer to 16.0.0 2018-02-17 13:29:13 +01:00
MergeHistoryTest.php Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
MessageTest.php Use wikimedia/object-factory 1.0.0 2018-02-04 12:52:44 -08:00
MovePageTest.php
MWNamespaceTest.php Don't rely on magic __call in MWNamespaceTest 2018-04-06 14:17:42 -07:00
MWTimestampTest.php Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
OutputPageTest.php Generalize ResourceLoader 'excludepage' functionality 2018-04-25 00:37:08 +00:00
PageArchiveTest.php Drop archive.ar_text and ar_flags 2018-04-03 12:54:27 -04:00
PagePropsTest.php Add @covers tags to miscellaneous tests 2017-12-24 23:29:00 -08:00
PathRouterTest.php build: Updating mediawiki/mediawiki-codesniffer to 15.0.0 2018-01-01 14:10:16 +01:00
PreferencesTest.php Convert Preferences class into PreferencesFactory service 2018-01-03 09:48:25 +08:00
PrefixSearchTest.php Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
ReadOnlyModeTest.php
RevisionContentHandlerDbTest.php Run RevisionIntegrationTest for both ContentHandlerUseDB settings 2017-11-10 14:11:17 +00:00
RevisionDbTestBase.php Drop archive.ar_text and ar_flags 2018-04-03 12:54:27 -04:00
RevisionNoContentHandlerDbTest.php Run RevisionIntegrationTest for both ContentHandlerUseDB settings 2017-11-10 14:11:17 +00:00
RevisionTest.php Merge "Drop archive.ar_text and ar_flags" 2018-04-23 20:15:26 +00:00
RevisionTestModifyableContent.php Split Revision tests into Unit & Integration classes 2017-10-13 14:46:36 +01:00
RevisionTestModifyableContentHandler.php Split Revision tests into Unit & Integration classes 2017-10-13 14:46:36 +01:00
SampleTest.php Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
SanitizerValidateEmailTest.php build: Updating mediawiki/mediawiki-codesniffer to 16.0.0 2018-02-17 13:29:13 +01:00
SiteConfigurationTest.php SiteConfiguration: Add test to confirm null as valid override 2018-04-24 18:31:30 +01:00
SiteStatsTest.php phpunit: Clear job queues in MediaWikiTestCase::setUp() 2018-04-24 00:46:19 +01:00
StatusTest.php RFC T157418: Trim whitespace in table cells, list items, headings 2018-03-16 13:42:55 -05:00
TemplateCategoriesTest.php Move phpunit @group from file comment to class comment 2018-03-10 11:48:28 +01:00
TemplateParserTest.php Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
TestLogger.php
TestUser.php
TestUserRegistry.php Test ApiUserrights 2018-04-12 21:26:02 +03:00
TimeAdjustTest.php
TitleArrayFromResultTest.php build: Updating mediawiki/mediawiki-codesniffer to 16.0.0 2018-02-17 13:29:13 +01:00
TitleMethodsTest.php Add protection for User: JSON pages in the same manner as JS & CSS ones 2018-03-29 14:33:46 +00:00
TitlePermissionTest.php Add protection for User: JSON pages in the same manner as JS & CSS ones 2018-03-29 14:33:46 +00:00
TitleTest.php Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
WebRequestTest.php Remove internal use of deprecated $wgRequestTime 2018-03-18 04:41:12 +00:00
WikiMapTest.php Clean up wiki ID and DB domain ID handling 2017-09-30 10:25:03 +00:00
WikiReferenceTest.php build: Updating mediawiki/mediawiki-codesniffer to 16.0.0 2018-02-17 13:29:13 +01:00
XmlJsTest.php build: Updating mediawiki/mediawiki-codesniffer to 16.0.0 2018-02-17 13:29:13 +01:00
XmlSelectTest.php
XmlTest.php Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00