diff options
Diffstat (limited to 'tests/phpunit/includes/api/format/ApiFormatPhpTest.php')
-rw-r--r-- | tests/phpunit/includes/api/format/ApiFormatPhpTest.php | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/tests/phpunit/includes/api/format/ApiFormatPhpTest.php b/tests/phpunit/includes/api/format/ApiFormatPhpTest.php deleted file mode 100644 index 8209f591..00000000 --- a/tests/phpunit/includes/api/format/ApiFormatPhpTest.php +++ /dev/null @@ -1,19 +0,0 @@ -<?php - -/** - * @group API - * @group Database - */ -class ApiFormatPhpTest extends ApiFormatTestBase { - - function testValidPhpSyntax() { - - $data = $this->apiRequest( 'php', array( 'action' => 'query', 'meta' => 'siteinfo' ) ); - - $this->assertInternalType( 'array', unserialize( $data ) ); - $this->assertGreaterThan( 0, count( (array) $data ) ); - - - } - -} |