aboutsummaryrefslogtreecommitdiffstats
path: root/tests/phpunit/includes/api/ApiParseTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/phpunit/includes/api/ApiParseTest.php')
-rw-r--r--tests/phpunit/includes/api/ApiParseTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/phpunit/includes/api/ApiParseTest.php b/tests/phpunit/includes/api/ApiParseTest.php
index 99aaf45a7df0..3199d81d7602 100644
--- a/tests/phpunit/includes/api/ApiParseTest.php
+++ b/tests/phpunit/includes/api/ApiParseTest.php
@@ -309,7 +309,7 @@ class ApiParseTest extends ApiTestCase {
$this->expectApiErrorCode( 'missingcontent-pageid' );
- $this->db->newDeleteQueryBuilder()
+ $this->getDb()->newDeleteQueryBuilder()
->deleteFrom( 'revision' )
->where( [ 'rev_id' => $status->getNewRevision()->getId() ] )
->caller( __METHOD__ )