aboutsummaryrefslogtreecommitdiffstats
path: root/tests/phpunit/includes/api/query/ApiQueryBlocksTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/phpunit/includes/api/query/ApiQueryBlocksTest.php')
-rw-r--r--tests/phpunit/includes/api/query/ApiQueryBlocksTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/phpunit/includes/api/query/ApiQueryBlocksTest.php b/tests/phpunit/includes/api/query/ApiQueryBlocksTest.php
index 3fd958628808..8d5c0c220c05 100644
--- a/tests/phpunit/includes/api/query/ApiQueryBlocksTest.php
+++ b/tests/phpunit/includes/api/query/ApiQueryBlocksTest.php
@@ -105,7 +105,7 @@ class ApiQueryBlocksTest extends ApiTestCase {
$pageData = $this->insertPage( $title );
$pageId = $pageData['id'];
- $this->db->newInsertQueryBuilder()
+ $this->getDb()->newInsertQueryBuilder()
->insertInto( 'ipblocks_restrictions' )
->row( [
'ir_ipb_id' => $block->getId(),