Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F1427311
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
Sat, May 16, 14:28 (1 d, 7 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
c5/85/776535321f62dba2b2a80674c09b
Default Alt Text
MediaWikiTeardownPHPUnitExtension.php (495 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment