���ѧۧݧ�ӧ�� �ާ֧ߧ֧էا֧� - ���֧էѧܧ�ڧ��ӧѧ�� - /home/rickpfrv/wiki.craftaro.com/tests/phpunit/includes/logging/ContentModelLogFormatterTest.php
���ѧ٧ѧ�
<?php /** * @covers ContentModelLogFormatter */ class ContentModelLogFormatterTest extends LogFormatterTestCase { public static function provideContentModelLogDatabaseRows() { return [ [ [ 'type' => 'contentmodel', 'action' => 'new', 'comment' => 'new content model comment', 'namespace' => NS_MAIN, 'title' => 'ContentModelPage', 'params' => [ '5::newModel' => 'testcontentmodel', ], ], [ 'text' => 'User created the page ContentModelPage ' . 'using a non-default content model ' . '"testcontentmodel"', 'api' => [ 'newModel' => 'testcontentmodel', ], ], ], [ [ 'type' => 'contentmodel', 'action' => 'change', 'comment' => 'change content model comment', 'namespace' => NS_MAIN, 'title' => 'ContentModelPage', 'params' => [ '4::oldmodel' => 'wikitext', '5::newModel' => 'testcontentmodel', ], ], [ 'text' => 'User changed the content model of the page ' . 'ContentModelPage from "wikitext" to ' . '"testcontentmodel"', 'api' => [ 'oldmodel' => 'wikitext', 'newModel' => 'testcontentmodel', ], ], ], ]; } /** * @dataProvider provideContentModelLogDatabaseRows */ public function testContentModelLogDatabaseRows( $row, $extra ) { $this->doTestLogFormatter( $row, $extra ); } }
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | ���֧ߧ֧�ѧ�ڧ� ����ѧߧڧ��: 0.3 |
proxy
|
phpinfo
|
���ѧ����ۧܧ�