mirror of
https://github.com/Universal-Omega/PortableInfobox.git
synced 2024-11-30 19:15:24 +00:00
24 lines
467 B
PHP
24 lines
467 B
PHP
|
<?php
|
||
|
|
||
|
/**
|
||
|
* @group medium
|
||
|
* @coversDefaultClass ApiQueryAllInfoboxes
|
||
|
*/
|
||
|
class QueryAllInfoboxesTest extends ApiTestCase {
|
||
|
|
||
|
/**
|
||
|
* @covers ::__construct
|
||
|
* @covers ::execute
|
||
|
* @covers ::createLabel
|
||
|
* @covers AllInfoboxesQueryPage::doQuery
|
||
|
*/
|
||
|
public function testQueryAllInfoboxes() {
|
||
|
$this->doApiRequest( [
|
||
|
'action' => 'query',
|
||
|
'list' => 'allinfoboxes',
|
||
|
], null, null, self::getTestUser()->getUser() );
|
||
|
$this->addToAssertionCount( 1 );
|
||
|
}
|
||
|
|
||
|
}
|