| hashar created this task. hashar added projects: MediaWiki-extensions-PropertySuggester, MediaWiki-extensions-WikibaseRepository, Continuous-Integration-Infrastructure (shipyard). Herald added a subscriber: Aklapper. Herald added a project: Wikidata. |
TASK DESCRIPTION
With Wikibase and PropertySuggester cloned, #quibble installs mediawiki with:
install.php --with-extensions [..]
That injects the extensions in LocalSettings with wfLoadExtension(). install.php works fine but when running phpunit tests, the Wikibase autoloader does not seem to be registered:
$ tests/phpunit/phpunit.php --debug-tests --testsuite extensions Using PHP 7.0.27-0+deb9u1 PHP Fatal error: Class 'Wikibase\Repo\Tests\Api\WikibaseApiTestCase' not found in /workspace/src/extensions/PropertySuggester/tests/phpunit/PropertySuggester/GetSuggestionsTest.php on line 24The class is defined in Wikibase at:
extensions/Wikibase/repo/autoload.php353 'Wikibase\\Repo\\Tests\\Api\\WikibaseApiTestCase' => __DIR__ . '/tests/phpunit/includes/Api/WikibaseApiTestCase.php',Wikibase does not have an extension.json, its Wikibase.php lets one switch between client and repo setup based on $wgEnableWikibaseRepo or $wgEnableWikibaseClient being set.
TASK DETAIL
EMAIL PREFERENCES
To: hashar
Cc: Aklapper, hashar, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, thcipriani, Wikidata-bugs, aude, Sjoerddebruin, Mbch331, Jay8g, greg
Cc: Aklapper, hashar, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, thcipriani, Wikidata-bugs, aude, Sjoerddebruin, Mbch331, Jay8g, greg
_______________________________________________ Wikidata-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
