Debian Codegraph @

tests/phpunit/includes/installer/WebInstallerOutputTest.php

raw symbols SCIP
1 <?php
2
3 use MediaWiki\Installer\WebInstaller;
4 use MediaWiki\Installer\WebInstallerOutput;
5
6 class WebInstallerOutputTest extends MediaWikiIntegrationTestCase {
7 /**
8 * @covers \MediaWiki\Installer\WebInstallerOutput::getCSS
9 */
10 public function testGetCSS() {
11 $_SERVER['DOCUMENT_ROOT'] = __DIR__ . '../../../';
12 $installer = $this->createMock( WebInstaller::class );
13 $out = new WebInstallerOutput( $installer );
14 $css = $out->getCSS();
15 $this->assertStringContainsString(
16 '#mw-panel {',
17 $css,
18 'CSS for installer can be generated'
19 );
20 }
21 }