Commit graph

2 commits

Author SHA1 Message Date
vladshapik
3a150275de Implement injecting of dependencies to an AuthenticationProvider
init() method was added to AuthenticationProvider. It helps to inject
dependecies. Overridable postInitSetup() method was added to
AbstractAuthenticationProvider. A provider can override this to do
any necessary setup.
AbstractAuthenticationProvider ::setLogger(), ::setManager(), ::setConfig(),
::setHookContainer() were soft deprecated. Now developers must use
AbstractAuthenticationProvider::init().

Bug: T275030
Change-Id: I6ca63eddac1b177eeadbdcce992e71c44a480160
2021-04-26 15:17:34 +03:00
DannyS712
97647157af auth: Convert AbstractAuthenticationProviderTest to a pure unit test
No integration is needed.
Additionally, change namespace to reflect that it's a test class
rather than normal code.

Change-Id: Iaa591310edde57de02c710ed1741388b4abafd01
2021-03-28 21:32:20 +00:00
Renamed from tests/phpunit/includes/auth/AbstractAuthenticationProviderTest.php (Browse further)