aboutsummaryrefslogtreecommitdiffstats
path: root/tests/phpunit/includes/api/ApiOptionsTest.php
Commit message (Expand)AuthorAgeFilesLines
* Use explicit nullable type on parameter argumentsUmherirrender2024-10-161-1/+1
* Add namespace to includes/api classesJames D. Forrester2024-09-251-4/+4
* tests/api: Add missing documentation to class propertiesUmherirrender2024-09-101-0/+1
* tests: Use const for some static data in test filesUmherirrender2024-09-011-5/+5
* user: Add "global" parameter to ApiOptionsTim Starling2024-06-131-1/+1
* user: Move "reset kinds" concept to PreferencesFactoryTim Starling2024-06-111-22/+21
* tests: Namespace api testsReedy2024-02-181-0/+7
* tests: Fix @covers and @coversDefaultClass to have leading \Reedy2024-02-161-1/+1
* Namespace includes/contextJames D. Forrester2024-02-081-0/+3
* Update tests for PHPUnit 9.6 (part 2)Daimona Eaytoy2024-01-171-10/+21
* Move user options related classes into its own namespaceMartin Urbanec2023-11-291-1/+1
* Namespace User under \MediaWiki\UserJames D. Forrester2023-09-191-0/+1
* Replace substr with cleaner string methodsMatěj Suchánek2023-05-201-1/+1
* API tests: Assert error codes, not error messagesBartosz Dziewoński2023-04-261-7/+7
* Merge "Make ApiOptions unavailable to temporary users"jenkins-bot2023-03-281-51/+103
|\
| * Make ApiOptions unavailable to temporary userscsimiyu2023-03-281-51/+103
* | tests: Make some PHPUnit data providers staticTim Starling2023-03-241-1/+1
|/
* Reorg: Namespace the Title classJames D. Forrester2023-03-021-0/+1
* ApiOptions: Give warning if the value is too longFunc2023-01-201-0/+13
* Reorg: Move some of request related classes to MediaWiki/RequestAmir Sarabadani2022-10-281-0/+1
* Revert "Reorg: Move some of request related classes to MediaWiki/Request"Zabe2022-10-271-1/+0
* Reorg: Move some of request related classes to MediaWiki/RequestAmir Sarabadani2022-10-261-0/+1
* tests: Use Title::makeTitle instead of Title::newFromTextUmherirrender2022-09-231-1/+1
* Replace trivial usa of mock builder with createMock() shortcutThiemo Kreuz2022-07-151-3/+1
* Hard deprecate User group methodsvladshapik2021-07-231-3/+0
* build: Updating dependencieslibraryupgrader2021-07-221-1/+1
* api: Replace deprecated User::getOptionKinds/resetOptions in ApiOptionsUmherirrender2021-07-021-26/+33
* api: Inject PreferencesFactory into ApiOptionsUmherirrender2021-07-021-18/+12
* api: Change User::isAnon to User::isRegisteredUmherirrender2021-06-291-3/+15
* Hard deprecate User::listOptionKinds()ZabeMath2021-06-221-1/+15
* Allow passing mock Authority in API integration testsPetr Pchelko2021-06-071-2/+5
* Hard deprecate User ::isIP, ::getOptionsvladshapik2021-04-261-6/+7
* Merge "Remove unnecessary ->equalTo() from tests"jenkins-bot2021-04-231-4/+4
|\
| * Remove unnecessary ->equalTo() from testsThiemo Kreuz2021-04-231-4/+4
* | Remove meaningless ->expects( $this->any() ) from all testsThiemo Kreuz2021-04-231-4/+2
* | Replace PHPUnit ->returnValue() with ->willReturn() shortcutThiemo Kreuz2021-04-221-5/+3
|/
* Avoid using User ::getDefaultOption, ::getDefaultOptionsPeter Ovchyn2021-03-161-2/+0
* Use Authority and GroupPermissionLookup in Action APICindy Cicalese2021-02-231-1/+5
* Pass linkable user name in Special:Preferences "Account data" help textThalia2021-02-161-1/+1
* Remove incomplete @param from test functionUmherirrender2021-02-011-3/+0
* tests: Add explicit return type void to setUp() and tearDown()Max Semenik2019-10-301-1/+1
* Remove Language::factory and getParentLanguage useAryeh Gregor2019-10-271-1/+1
* phpcs: Enable MediaWiki.Commenting.PhpunitAnnotations.ForbiddenExpectedExcept...James D. Forrester2019-10-141-3/+1
* Update tests to use PHPUnit 6 class namesMax Semenik2019-10-061-1/+3
* Call resetServices() when setting globals in testsAryeh Gregor2019-08-291-0/+12
* Deprecate and replace usages of User:isAllowed{All,Any}Petr Pchelko2019-08-211-2/+1
* ApiOptions: fix resetting some preferences to defaultMax Semenik2018-10-011-141/+118
* Introduce preference filtersMax Semenik2018-07-171-0/+4
* Use \u{00A0} instead of   or  Fomafix2018-06-241-2/+2
* Use ::class to resolve class names in testsUmherirrender2018-01-261-1/+1