Файловый менеджер - Редактировать - /var/www/html/mediawiki-1.43.1/tests/phpunit/unit/includes/specials/formfields/LicensesTest.php
Ðазад
<?php use MediaWiki\HTMLForm\HTMLForm; /** * @covers \Licenses */ class LicensesTest extends MediaWikiUnitTestCase { public function testLicenses() { $str = " * Free licenses: ** GFDL|Debian disagrees "; $htmlform = $this->createMock( HTMLForm::class ); $lc = new Licenses( [ 'fieldname' => 'FooField', 'type' => 'select', 'section' => 'description', 'id' => 'wpLicense', 'label' => 'A label text', # Note can't test label-message because $wgOut is not defined 'name' => 'AnotherName', 'licenses' => $str, 'parent' => $htmlform ] ); $this->assertInstanceOf( Licenses::class, $lc ); } }
| ver. 1.1 | |
.
| PHP 8.4.18 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка