Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F8097565
MediaWikiTeardownPHPUnitExtension.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
495 B
Referenced Files
None
Subscribers
None
MediaWikiTeardownPHPUnitExtension.php
View Options
<?php
use
PHPUnit\Runner\AfterLastTestHook
;
/**
* PHPUnit extension used in integration tests to clean up the environment after the last test. This will:
* - clear the temporary job queue.
* - allow extensions to delete any temporary tables they created.
* - restore ability to connect to the real database.
*/
class
MediaWikiTeardownPHPUnitExtension
implements
AfterLastTestHook
{
public
function
executeAfterLastTest
():
void
{
MediaWikiIntegrationTestCase
::
teardownTestDB
();
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Tue, Dec 8, 01:49 (1 d, 6 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
1b/db/a5b510ed1863415d34dab93676e8
Default Alt Text
MediaWikiTeardownPHPUnitExtension.php (495 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment