diff options
Diffstat (limited to 'tests/phpunit/includes/deferred/LinksUpdateTest.php')
-rw-r--r-- | tests/phpunit/includes/deferred/LinksUpdateTest.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/phpunit/includes/deferred/LinksUpdateTest.php b/tests/phpunit/includes/deferred/LinksUpdateTest.php index 05252b68bc1f..d6d008d57d4b 100644 --- a/tests/phpunit/includes/deferred/LinksUpdateTest.php +++ b/tests/phpunit/includes/deferred/LinksUpdateTest.php @@ -582,8 +582,8 @@ class LinksUpdateTest extends MediaWikiLangTestCase { [ 'tl_target_id' ], [ 'tl_from' => self::$testingPageId ], [ - [ $linkTargetLookup->acquireLinkTargetId( $target1, $this->db ) ], - [ $linkTargetLookup->acquireLinkTargetId( $target2, $this->db ) ], + [ $linkTargetLookup->acquireLinkTargetId( $target1, $this->getDb() ) ], + [ $linkTargetLookup->acquireLinkTargetId( $target2, $this->getDb() ) ], ] ); @@ -600,8 +600,8 @@ class LinksUpdateTest extends MediaWikiLangTestCase { [ 'tl_target_id' ], [ 'tl_from' => self::$testingPageId ], [ - [ $linkTargetLookup->acquireLinkTargetId( $target2, $this->db ) ], - [ $linkTargetLookup->acquireLinkTargetId( $target3, $this->db ) ], + [ $linkTargetLookup->acquireLinkTargetId( $target2, $this->getDb() ) ], + [ $linkTargetLookup->acquireLinkTargetId( $target3, $this->getDb() ) ], ] ); } |