Merge "(bug 17602) fix Monobook action tabs not quite touching the page body"
[lhc/web/wiklou.git] / tests / phpunit / includes / api / format / ApiFormatPhpTest.php
1 <?php
2
3 /**
4 * @group API
5 * @group Database
6 * @group medium
7 */
8 class ApiFormatPhpTest extends ApiFormatTestBase {
9
10 function testValidPhpSyntax() {
11
12 $data = $this->apiRequest( 'php', array( 'action' => 'query', 'meta' => 'siteinfo' ) );
13
14 $this->assertInternalType( 'array', unserialize( $data ) );
15 $this->assertGreaterThan( 0, count( (array)$data ) );
16 }
17 }