aboutsummaryrefslogtreecommitdiffstats
path: root/tests/phpunit/includes/auth/AbstractAuthenticationProviderTest.php
Commit message (Collapse)AuthorAgeFilesLines
* auth: Convert AbstractAuthenticationProviderTest to a pure unit testDannyS7122021-03-281-31/+0
| | | | | | | | No integration is needed. Additionally, change namespace to reflect that it's a test class rather than normal code. Change-Id: Iaa591310edde57de02c710ed1741388b4abafd01
* MediaWikiTestCase to MediaWikiIntegrationTestCaseaddshore2020-06-301-1/+1
| | | | | | | | | | | | | The name change happened some time ago, and I think its about time to start using the name name! (Done with a find and replace) My personal motivation for doing this is that I have started trying out vscode as an IDE for mediawiki development, and right now it doesn't appear to handle php aliases very well or at all. Change-Id: I412235d91ae26e4c1c6a62e0dbb7e7cf3c5ed4a6
* Use MediaWikiServices::getAuthManager instead of AuthManager::singletonUmherirrender2020-06-221-1/+2
| | | | Change-Id: I92c31b963095eab751df9f8c1715e8e23b7e8485
* Deprecate and stop using assertType(OrValue)Daimona Eaytoy2019-12-151-1/+1
| | | | | | | | | | | | *assertType is marked as deprecated, and should ideally be removed soon (i.e. no hard deprecation to follow) *Most usages of assertType in core were autofixed by using I8ef556b630812aeea77c5606713f53d9af609f1b *assertTypeOrValue was removed because only used in SiteTest (codesearch: https://codesearch.wmflabs.org/search/?q=assertTypeOrValue&i=nope&files=&repos=) *SiteTest::assertTypeOrFalse was removed because unused Bug: T192167 Change-Id: Icb3014b8fe7d1c43e64a37e0bdaaffec18bb482f
* Fix undefined NS with @covers tags in /includes/auth/Alangi Derick2018-11-011-1/+1
| | | | | | Should MW Codesniffer also handle these as well? Change-Id: Ieb493bddd5f3674fb889b4a780d51b50d89c4f65
* Use ::class to resolve class names in testsUmherirrender2018-01-261-2/+2
| | | | | | | This helps to find renamed or misspelled classes earlier. Phan will check the class names Change-Id: Ie541a7baae10ab6f5c13f95ac2ff6598b8f8950c
* Switch to librarized version of TestingAccessWrapperGergő Tisza2017-04-201-1/+3
| | | | | | | | | | | | | | | Replaces \TestingAccessWrapper (defined in core) with \Wikimedia\TestingAccessWrapper (defined in the composer package wikimedia/testing-access-wrapper). See https://gerrit.wikimedia.org/r/#/q/topic:librarize-testing-access-wrapper for downstream patches. The core version of the class is kept around for a while to avoid circular dependency problems. Bug: T163434 Change-Id: I52cc257e593da3d6c3b01a909e554a950225aec8
* Remove $wgDisableAuthManagerGergő Tisza2016-08-091-9/+0
| | | | Change-Id: I2b2c9693a275fcc026916bd97f303e7a5c8df341
* Add AuthManagerBrad Jorsch2016-05-161-0/+37
This implements the AuthManager class and its needed interfaces and subclasses, and integrates them into the backend portion of MediaWiki. Integration with frontend portions of MediaWiki (e.g. ApiLogin, Special:Login) is left for a followup. Bug: T91699 Bug: T71589 Bug: T111299 Co-Authored-By: Gergő Tisza <gtisza@wikimedia.org> Change-Id: If89d24838e326fe25fe867d02181eebcfbb0e196