summaryrefslogtreecommitdiff
path: root/tests/phpunit/includes/api/format/ApiFormatNoneTest.php
blob: cabd750b4baff7830974321f170d4dc37dbe2be1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?php

/**
 * @group API
 * @group Database
 * @group medium
 * @covers ApiFormatNone
 */
class ApiFormatNoneTest extends ApiFormatTestBase {

	public function testValidSyntax( ) {
		$data = $this->apiRequest( 'none', array( 'action' => 'query', 'meta' => 'siteinfo' ) );

		$this->assertEquals( '', $data ); // No output!
	}
}