mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/PageImages
synced 2024-12-03 20:37:49 +00:00
fcc96696d5
* Separate the ApiQueryPageImages mock into its own file Bug: T170583 Change-Id: I3db5de11618f952eb7974c456445eaa1d5e4e6a4
30 lines
533 B
PHP
30 lines
533 B
PHP
<?php
|
|
|
|
namespace PageImages\Tests;
|
|
|
|
use ApiPageSet;
|
|
use ApiQueryPageImages;
|
|
|
|
class ApiQueryPageImagesProxyMock extends ApiQueryPageImages {
|
|
|
|
/** @inheritDoc */
|
|
public function __construct( ApiPageSet $pageSet ) {
|
|
$this->pageSet = $pageSet;
|
|
}
|
|
|
|
/** @inheritDoc */
|
|
public function getPageSet() {
|
|
return $this->pageSet;
|
|
}
|
|
|
|
/** @inheritDoc */
|
|
public function getTitles() {
|
|
return parent::getTitles();
|
|
}
|
|
|
|
/** @inheritDoc */
|
|
public static function getPropNames( $license ) {
|
|
return parent::getPropNames( $license );
|
|
}
|
|
}
|