Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F5970706
ServiceWiringTest.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
672 B
Referenced Files
None
Subscribers
None
ServiceWiringTest.php
View Options
<?php
/**
* Copy of CentralAuth's CentralAuthServiceWiringTest.php
* as it could not be included as it's in another extension.
*/
namespace
MediaWiki\Extension\CategoryTree\Tests
;
use
MediaWikiIntegrationTestCase
;
/**
* @coversNothing
*/
class
ServiceWiringTest
extends
MediaWikiIntegrationTestCase
{
/**
* @dataProvider provideService
*/
public
function
testService
(
string
$name
)
{
$this
->
getServiceContainer
()->
get
(
$name
);
$this
->
addToAssertionCount
(
1
);
}
public
static
function
provideService
()
{
$wiring
=
require
__DIR__
.
'/../../includes/ServiceWiring.php'
;
foreach
(
$wiring
as
$name
=>
$_
)
{
yield
$name
=>
[
$name
];
}
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, Oct 3, 14:40 (16 h, 37 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
ad/eb/c078f5407c1ff8af980ee854369b
Default Alt Text
ServiceWiringTest.php (672 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment