Файловый менеджер - Редактировать - /var/www/html/mediawiki-1.43.1/extensions/Echo/tests/phpunit/ServiceWiringTest.php
Ðазад
<?php /** * Copy of CentralAuth's CentralAuthServiceWiringTest.php * used to test the ServiceWiring.php file. */ namespace MediaWiki\Extension\Notifications\Test; use MediaWikiIntegrationTestCase; /** * Tests ServiceWiring.php * * @coversNothing PHPUnit does not support covering annotations for files * @group Echo * @group Database */ class ServiceWiringTest extends MediaWikiIntegrationTestCase { /** * @dataProvider provideService */ public function testService( string $name ) { $this->getServiceContainer()->get( $name ); $this->addToAssertionCount( 1 ); } public static function provideService() { $wiring = require __DIR__ . '/../../ServiceWiring.php'; foreach ( $wiring as $name => $_ ) { yield $name => [ $name ]; } } }
| ver. 1.1 | |
.
| PHP 8.4.18 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка