Message: add strict type to protected Message::$language
[mediawiki.git] / tests / phpunit / MediaWikiTeardownPHPUnitExtension.php
blobbedcf10cc2c6802ccec8ae716276e0b8f595a4bd
1 <?php
3 use PHPUnit\Runner\AfterLastTestHook;
5 /**
6 * PHPUnit extension used in integration tests to clean up the environment after the last test. This will:
7 * - clear the temporary job queue.
8 * - allow extensions to delete any temporary tables they created.
9 * - restore ability to connect to the real database.
11 class MediaWikiTeardownPHPUnitExtension implements AfterLastTestHook {
12 public function executeAfterLastTest(): void {
13 MediaWikiIntegrationTestCase::teardownTestDB();