Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F7430071
ArraySourceTest.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
443 B
Referenced Files
None
Subscribers
None
ArraySourceTest.php
View Options
<?php
namespace
MediaWiki\Tests\Unit\Settings\Source
;
use
MediaWiki\Settings\Source\ArraySource
;
use
PHPUnit\Framework\TestCase
;
/**
* @covers \MediaWiki\Settings\Source\ArraySource
*/
class
ArraySourceTest
extends
TestCase
{
public
function
testLoad
()
{
$source
=
new
ArraySource
(
[
'config'
=>
[
'MySettings'
=>
'BlaBla'
]
]
);
$this
->
assertSame
(
[
'config'
=>
[
'MySettings'
=>
'BlaBla'
]
],
$source
->
load
()
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sun, Nov 22, 10:17 (10 h, 4 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
a8/22/a17aafdc628200b7b063a730af5c
Default Alt Text
ArraySourceTest.php (443 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment