���ѧۧݧ�ӧ�� �ާ֧ߧ֧էا֧� - ���֧էѧܧ�ڧ��ӧѧ�� - /home/rickpfrv/wiki.craftaro.com/tests/phpunit/includes/specials/SpecialCreateAccountTest.php
���ѧ٧ѧ�
<?php /** * @covers SpecialCreateAccount */ class SpecialCreateAccountTest extends SpecialPageTestBase { /** * @inheritDoc */ protected function newSpecialPage() { $services = $this->getServiceContainer(); return new SpecialCreateAccount( $services->getAuthManager() ); } public function testCheckPermissions() { $readOnlyMode = $this->getServiceContainer()->getReadOnlyMode(); $readOnlyMode->setReason( 'Test' ); $this->expectException( ErrorPageError::class ); $specialPage = $this->newSpecialPage(); $specialPage->checkPermissions(); } }
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | ���֧ߧ֧�ѧ�ڧ� ����ѧߧڧ��: 0.19 |
proxy
|
phpinfo
|
���ѧ����ۧܧ�