Commit graph

5 commits

Author SHA1 Message Date
Umherirrender da8ba82393 tests: Make PHPUnit data providers static
Initally used a new sniff with autofix (T333745)

Bug: T332865
Change-Id: I7cc7ccda4db61bc20f6b3ee225c9a5b7d484dd88
2023-05-20 14:02:30 +02:00
Kunal Mehta 0509d34225 Switch to new hook handler format
* Turn HSTSPreloadLookup into a real service, per @todo
* Convert Hooks into a non-static class, take lookup as an argument
* Update tests for new calling style

== Test plan ==
* CI/tests pass
* Use Special:ExpandTemplates with a preloaded domain and localhost,
  observe preloaded link changes, localhost stays http

Bug: T271027
Change-Id: I0196350e85c09eedfba4dbf1dab81f9a757b2a12
2022-06-05 12:12:39 -04:00
Alexander Vorwerk d2f79d1664 MediaWikiTestCase -> MediaWikiIntegrationTestCase
MediaWikiTestCase has been renamed to MediaWikiIntegrationTestCase in 1.34.

Bug: T293043
Change-Id: I3a4b25e284497b72ef3fa6bb4082e07fb57a4fb9
2021-11-08 23:04:46 +00:00
Kunal Mehta dfa2506116 Update Legoktm's email address
Change-Id: Ic20c6d24d221fd5377bfa4a36a7f0ee034fad9e1
2021-04-11 19:10:07 -07:00
Kunal Mehta 537b15acf8 Add tests for Hooks
Change-Id: I0f30e9ccc995cbda7095aee040defcb061a174ac
2018-08-05 00:22:52 -06:00