X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2Fapi%2FMockApi.php;h=1407c10d9314cf32de4fb91dc1ddf8e829f928d0;hb=751bac3786c561225f121b607189ccd865416e1b;hp=9a64d0864a37ba3683415d277a205e2d4fc1dfb2;hpb=d42754e47722436ef52218f21a8e544a05ee9ad7;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/includes/api/MockApi.php b/tests/phpunit/includes/api/MockApi.php index 9a64d0864a..1407c10d93 100644 --- a/tests/phpunit/includes/api/MockApi.php +++ b/tests/phpunit/includes/api/MockApi.php @@ -1,12 +1,22 @@ getModuleName(); + } + + public function addWarning( $warning, $code = null, $data = null ) { + $this->warnings[] = $warning; + } + public function getAllowedParams() { return [ 'filename' => null,