8209f5910be0c5719e4fb17bd7ac1ee6618c493b
7 class ApiFormatPhpTest
extends ApiFormatTestBase
{
9 function testValidPhpSyntax() {
11 $data = $this->apiRequest( 'php', array( 'action' => 'query', 'meta' => 'siteinfo' ) );
13 $this->assertInternalType( 'array', unserialize( $data ) );
14 $this->assertGreaterThan( 0, count( (array) $data ) );