Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4148457
ScribuntoServiceWiringTest.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
678 B
Referenced Files
None
Subscribers
None
ScribuntoServiceWiringTest.php
View Options
<?php
namespace
MediaWiki\Extension\Scribunto\Tests
;
/**
* Copy of CentralAuth's CentralAuthServiceWiringTest.php
* as it could not be included as it's in another extension.
*/
use
MediaWikiIntegrationTestCase
;
/**
* @coversNothing
*/
class
ScribuntoServiceWiringTest
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
Aug 19 2026, 18:48 (6 w, 2 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
a4/c0/0d1ef6d80d20bcc7b0318cb4521c
Default Alt Text
ScribuntoServiceWiringTest.php (678 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment