Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion maintenance/importEntities.php
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ private function newEntityIdListBuilderFactory() {

private function newEntityImporter() {
$entityImporterFactory = new EntityImporterFactory(
WikibaseRepo::getDefaultInstance()->getStore()->getEntityStore(),
WikibaseRepo::getEntityStore(),
wfGetLB(),
$this->logger,
$this->getConfig()->get( 'WBImportSourceApi' )
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/ApiEntityLookupIntegrationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public function testGetEntity() {

private function getApiEntityLookup() {
$entityImporterFactory = new EntityImporterFactory(
WikibaseRepo::getDefaultInstance()->getStore()->getEntityStore(),
WikibaseRepo::getEntityStore(),
wfGetLB(),
$this->newLogger(),
'https://www.wikidata.org/w/api.php'
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/EntityImporterFactoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public function testGetApiEntityLookup() {

private function newEntityImporterFactory() {
return new EntityImporterFactory(
WikibaseRepo::getDefaultInstance()->getStore()->getEntityStore(),
WikibaseRepo::getEntityStore(),
wfGetLB(),
$this->newLogger(),
'https://www.wikidata.org/w/api.php'
Expand Down