Merge "More clean up of oracle/mssql"
[lhc/web/wiklou.git] / tests / phpunit / MediaWikiIntegrationTestCase.php
index 7aa1614..2f00132 100644 (file)
@@ -633,6 +633,9 @@ abstract class MediaWikiIntegrationTestCase extends PHPUnit\Framework\TestCase {
                        }
                }
 
+               // Clear any cached test users so they don't retain references to old services
+               TestUserRegistry::clear();
+
                // Re-enable any disabled deprecation warnings
                MWDebug::clearLog();
                // Restore mw globals