diff options
author | Aaron Schulz <aschulz@wikimedia.org> | 2024-08-28 11:16:52 -0700 |
---|---|---|
committer | Krinkle <krinkle@fastmail.com> | 2024-09-13 00:30:00 +0000 |
commit | b6a79ae45bb2173342e26fb76254ac465b518515 (patch) | |
tree | 53b11da777bde3cc09454aba42314f78c3a0f36e /tests/common | |
parent | bcc2e9ff006886d9c3dd1aff4e6a2aed95db0775 (diff) | |
download | mediawikicore-b6a79ae45bb2173342e26fb76254ac465b518515.tar.gz mediawikicore-b6a79ae45bb2173342e26fb76254ac465b518515.zip |
lockmanager: cleanup RedisLockManager::__destruct() and add tests
Remove pointless and risky-looking while loop.
Change-Id: I02ff99a5896a9adcfe48480e8bfec63e0f65fc36
Diffstat (limited to 'tests/common')
-rw-r--r-- | tests/common/TestsAutoLoader.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/common/TestsAutoLoader.php b/tests/common/TestsAutoLoader.php index 0f2290a45587..4c0b55c9213e 100644 --- a/tests/common/TestsAutoLoader.php +++ b/tests/common/TestsAutoLoader.php @@ -314,6 +314,9 @@ $wgAutoloadClasses += [ # tests/phpunit/integration/includes/HTMLForm 'MediaWiki\\Tests\\Integration\\HTMLForm\\HTMLFormFieldTestCase' => "$testDir/phpunit/integration/includes/HTMLForm/HTMLFormFieldTestCase.php", + # tests/phpunit/integration/includes/libs + 'LockManagerIntegrationTestBase' => "$testDir/phpunit/integration/includes/libs/lockmanager/LockManagerIntegrationTestBase.php", + # tests/phpunit/integration/includes/user 'MediaWiki\\Tests\\User\\ActorStoreTestBase' => "$testDir/phpunit/integration/includes/user/ActorStoreTestBase.php", |