mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/PageImages
synced 2024-11-24 00:13:27 +00:00
Add TestAutoloadNamespaces
Remove require_once from ApiQueryPageImagesTest Change-Id: I0d1cf452a3c88e0cbac4c44284b7dc673bbca886
This commit is contained in:
parent
b14685b8d5
commit
0a406c67a8
|
@ -24,6 +24,9 @@
|
|||
"AutoloadNamespaces": {
|
||||
"PageImages\\": "includes/"
|
||||
},
|
||||
"TestAutoloadNamespaces": {
|
||||
"PageImages\\Tests\\": "tests/phpunit/"
|
||||
},
|
||||
"Hooks": {
|
||||
"AfterParserFetchFileAndTitle": "PageImages\\Hooks\\ParserFileProcessingHookHandlers::onAfterParserFetchFileAndTitle",
|
||||
"ApiOpenSearchSuggest": "PageImages\\PageImages::onApiOpenSearchSuggest",
|
||||
|
|
|
@ -2,8 +2,6 @@
|
|||
|
||||
namespace PageImages\Tests;
|
||||
|
||||
require_once 'ApiQueryPageImagesProxyMock.php';
|
||||
|
||||
use PageImages\ApiQueryPageImages;
|
||||
use PageImages\PageImages;
|
||||
use Title;
|
||||
|
|
Loading…
Reference in a new issue