summaryrefslogtreecommitdiff
path: root/tests/phpunit/includes/api/MockApiQueryBase.php
blob: f5b50e5a59193fbea38245c2917a6e21fa2f2421 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?php
class MockApiQueryBase extends ApiQueryBase {
	private $name;

	public function execute() {
	}

	public function __construct( $name = 'mock' ) {
		$this->name = $name;
	}

	public function getModuleName() {
		return $this->name;
	}
}