mediawiki-extensions-Math/tests
Derick Alangi bc193d41a7
PreferencesIntegrationTest: CA will fail on null User objects
`$this->createMock( User::class )` will return a mock User object
with all fields defaulting to null and this will fail when the
`onGetPreferences()` hook fires in CA since that gets consumed by
`getFormDescriptor()` in PreferencesFactory.

This patch changes the mock user object to a test user object and
this is fine because it's already an integration test.

Bug: T357854
Change-Id: I3d80fc1e59ff00a1a08def41c53d82bc093b6e00
2024-02-19 13:21:40 +03:00
..
api-testing REST API endpoint for popups 2022-08-05 17:47:44 +09:00
parser
phpunit PreferencesIntegrationTest: CA will fail on null User objects 2024-02-19 13:21:40 +03:00
selenium build: Updating npm dependencies 2024-02-13 20:44:49 +00:00
wfTest.php Use namespaced classes 2024-01-06 16:30:26 +01:00