wiki.techinc.nl/tests/phpunit/includes/auth
Máté Szabó b9a7704e54 auth: Split TemporaryPasswordPrimaryAuthenticationProviderTest cases
Why:

- TemporaryPasswordPrimaryAuthenticationProviderTest currently combines
  multiple test cases within a single test method, leading to
  duplication and making the tests harder to grok.

What:

- Split the test cases within the test class to use either data
  providers or separate methods where the inputs cannot be provided via
  a data provider.
- Make getProvider() stateless and initialize the $manager and $validity
  fields unconditionally via a setup hook to avoid confusing null errors
  if attempting to manipulate these fields prior to obtaining a provider
  instance.

Bug: T328718
Change-Id: I3e53d06ec5bde6a8f842f5caed5cdbad883f7afd
2024-09-02 16:52:23 +02:00
..
AbstractPasswordPrimaryAuthenticationProviderTest.php authmanager: Make some tests more robust 2024-07-28 22:38:32 +02:00
AbstractPreAuthenticationProviderTest.php tests: More use statements in auth tests 2024-02-16 21:49:35 +00:00
AbstractPrimaryAuthenticationProviderTest.php Tests: remove a bunch of DummyServicesTrait-related comments 2024-05-10 04:07:59 +00:00
AuthenticationRequestTest.php auth: Add missing documentation to class properties 2024-09-01 11:27:45 +02:00
AuthenticationRequestTestCase.php tests: Use namespaced classes (1) 2024-06-14 17:19:36 +00:00
AuthManagerTest.php auth: Add missing documentation to class properties 2024-09-01 11:27:45 +02:00
ButtonAuthenticationRequestTest.php auth: Add missing documentation to class properties 2024-09-01 11:27:45 +02:00
CheckBlocksSecondaryAuthenticationProviderTest.php tests: More use statements in auth tests 2024-02-16 21:49:35 +00:00
ConfirmLinkAuthenticationRequestTest.php
ConfirmLinkSecondaryAuthenticationProviderTest.php tests: More use statements in auth tests 2024-02-16 21:49:35 +00:00
CreatedAccountAuthenticationRequestTest.php
CreateFromLoginAuthenticationRequestTest.php
CreationReasonAuthenticationRequestTest.php
EmailNotificationSecondaryAuthenticationProviderTest.php tests: More use statements in auth tests 2024-02-16 21:49:35 +00:00
LocalPasswordPrimaryAuthenticationProviderTest.php auth: Add missing documentation to class properties 2024-09-01 11:27:45 +02:00
PasswordAuthenticationRequestTest.php tests: Use namespaced classes (1) 2024-06-14 17:19:36 +00:00
PasswordDomainAuthenticationRequestTest.php tests: Use namespaced classes (1) 2024-06-14 17:19:36 +00:00
RememberMeAuthenticationRequestTest.php
ResetPasswordSecondaryAuthenticationProviderTest.php tests: More use statements in auth tests 2024-02-16 21:49:35 +00:00
TemporaryPasswordAuthenticationRequestTest.php tests: Use namespaced classes (1) 2024-06-14 17:19:36 +00:00
TemporaryPasswordPrimaryAuthenticationProviderTest.php auth: Split TemporaryPasswordPrimaryAuthenticationProviderTest cases 2024-09-02 16:52:23 +02:00
ThrottlePreAuthenticationProviderTest.php Add namespace to the root classes of ObjectCache 2024-07-10 00:14:54 +03:30
ThrottlerTest.php Add namespace to the root classes of ObjectCache 2024-07-10 00:14:54 +03:30
UserDataAuthenticationRequestTest.php authmanager: Make some tests more robust 2024-07-28 22:38:32 +02:00
UsernameAuthenticationRequestTest.php