wiki.techinc.nl/tests/phpunit/maintenance
Ed Sanders 070f94de80 Maintenance: Don't modify mOptions in getOption
This makes hasOption stable and usable even after getOption.

Also getOption can now be called twice with different defaults.

Strictly speaking this is a breaking change, but the actual
behaviour is now closer to the expected/documented behaviour.

Bug: T275619
Change-Id: I65e32a7e1bc253f4b29378be6980c42e43f93032
2021-02-25 15:42:05 +00:00
..
backup_LogTest.php Fix incomplete/bogus PHPDoc tags in various tests 2021-01-14 19:02:00 +00:00
backup_PageTest.php MediaWikiTestCase to MediaWikiIntegrationTestCase 2020-06-30 17:02:22 +01:00
backupPrefetchTest.php build: Update mediawiki/mediawiki-codesniffer to 35.0.0 2021-01-31 13:34:38 +00:00
backupTextPassTest.php Tests: Mark more closures as static 2021-02-07 13:26:56 +01:00
BenchmarkerTest.php Tests: Mark more more closures as static 2021-02-09 02:55:57 +00:00
categoriesRdfTest.php Clean up temp files correctly after unit tests 2020-10-31 01:07:52 +01:00
categoryChangesAsRdfTest.php categoryChangesAsRdfTest: Avoid RC purge which randomly breaks the test 2020-11-09 12:24:31 +11:00
deleteAutoPatrolLogsTest.php Tests: Mark more closures as static 2021-02-07 13:26:56 +01:00
DumpAsserter.php Make dump tests based on fixture files. 2020-04-06 15:21:00 -07:00
DumpTestCase.php Tests: Mark more closures as static 2021-02-07 13:26:56 +01:00
fetchTextTest.php MediaWikiTestCase to MediaWikiIntegrationTestCase 2020-06-30 17:02:22 +01:00
MaintenanceBaseTestCase.php Split MaintenanceTest::testParseArgs and fix docs 2020-11-24 19:05:40 +00:00
MaintenanceTest.php Maintenance: Don't modify mOptions in getOption 2021-02-25 15:42:05 +00:00
MWDoxygenFilterTest.php Fix spaces in doc comments 2019-09-12 21:45:18 +02:00
PageDumpTestDataTrait.php PageDumpTestDataTrait: Pass a user to WikiPage::doDeleteArticleReal 2020-04-16 17:03:54 +00:00
xml.xsd Remove traling double newlines from text files 2019-10-23 21:17:43 +02:00