Changed quoting function for oracleDB.
[mediawiki.git] / tests / phpunit / includes / api / format / ApiFormatPhpTest.php
blob802a0e1f0e28a4dcc10d9003260d64ec092013ea
1 <?php
3 /**
4 * @group API
5 * @group Database
6 * @group medium
7 */
8 class ApiFormatPhpTest extends ApiFormatTestBase {
10 function testValidPhpSyntax() {
12 $data = $this->apiRequest( 'php', array( 'action' => 'query', 'meta' => 'siteinfo' ) );
14 $this->assertInternalType( 'array', unserialize( $data ) );
15 $this->assertGreaterThan( 0, count( (array)$data ) );