diff options
author | Timo Tijhof <krinkle@fastmail.com> | 2023-08-12 01:15:02 +0100 |
---|---|---|
committer | Krinkle <krinkle@fastmail.com> | 2024-03-27 03:40:14 +0000 |
commit | f60c46485a7e25c6ad382d0d3aa4729c15d3fe91 (patch) | |
tree | bd9b49ddf466795c15006c733541cd8bc6b335dc /includes/diff/DifferenceEngineSlotDiffRenderer.php | |
parent | 0bf57a8162941991a125bd672cfa773e5b92dc4e (diff) | |
download | mediawikicore-f60c46485a7e25c6ad382d0d3aa4729c15d3fe91.tar.gz mediawikicore-f60c46485a7e25c6ad382d0d3aa4729c15d3fe91.zip |
phpunit: Use StaticUserOptionsLookup when storage is disabled
This is an alternate for the workaround in I5987c4f1c3 (c98aeff078).
The service class should not need awareness of MW_PHPUNIT_TEST, or
otherwise have a mixed kind-of-yes/kind-of-not DB dependency.
With this patch, DefaultOptionsLookup is reverted to remove the
test-specific workaround in favour of using StaticUserOptionsLookup
in MediaWikiServices::disableStorage.
This is already called by MediaWikiIntegrationTestCase for tests
that don't enable the database.
Bug: T155147
Depends-On: I906450a4ac2dc51cdc536fbc978661b06f62f0a4
Change-Id: I8720d32fcfb18f7468e2c4b82412fe8664e28ddc
Diffstat (limited to 'includes/diff/DifferenceEngineSlotDiffRenderer.php')
0 files changed, 0 insertions, 0 deletions