Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4138013
WebInstallerOutputTest.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
556 B
Referenced Files
None
Subscribers
None
WebInstallerOutputTest.php
View Options
<?php
use
MediaWiki\Installer\WebInstaller
;
use
MediaWiki\Installer\WebInstallerOutput
;
class
WebInstallerOutputTest
extends
MediaWikiIntegrationTestCase
{
/**
* @covers \MediaWiki\Installer\WebInstallerOutput::getCSS
*/
public
function
testGetCSS
()
{
$_SERVER
[
'DOCUMENT_ROOT'
]
=
__DIR__
.
'../../../'
;
$installer
=
$this
->
createMock
(
WebInstaller
::
class
);
$out
=
new
WebInstallerOutput
(
$installer
);
$css
=
$out
->
getCSS
();
$this
->
assertStringContainsString
(
'#mw-panel {'
,
$css
,
'CSS for installer can be generated'
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Wed, Aug 19, 14:27 (3 w, 4 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
7d/42/a3cdf75ac02093c69b093a58f60f
Default Alt Text
WebInstallerOutputTest.php (556 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment