aboutsummaryrefslogtreecommitdiffstats
path: root/tests/phpunit/includes/api/ApiComparePagesTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/phpunit/includes/api/ApiComparePagesTest.php')
-rw-r--r--tests/phpunit/includes/api/ApiComparePagesTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/phpunit/includes/api/ApiComparePagesTest.php b/tests/phpunit/includes/api/ApiComparePagesTest.php
index 16813ba4a25a..b1dbd5263c6a 100644
--- a/tests/phpunit/includes/api/ApiComparePagesTest.php
+++ b/tests/phpunit/includes/api/ApiComparePagesTest.php
@@ -63,9 +63,9 @@ class ApiComparePagesTest extends ApiTestCase {
self::$repl['revB4'] => '20040404044404',
];
foreach ( $updateTimestamps as $id => $ts ) {
- $this->db->newUpdateQueryBuilder()
+ $this->getDb()->newUpdateQueryBuilder()
->update( 'revision' )
- ->set( [ 'rev_timestamp' => $this->db->timestamp( $ts ) ] )
+ ->set( [ 'rev_timestamp' => $this->getDb()->timestamp( $ts ) ] )
->where( [ 'rev_id' => $id ] )
->caller( __METHOD__ )
->execute();