diff options
Diffstat (limited to 'tests/phpunit/includes/filerepo/ThumbnailEntryPointTest.php')
-rw-r--r-- | tests/phpunit/includes/filerepo/ThumbnailEntryPointTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/phpunit/includes/filerepo/ThumbnailEntryPointTest.php b/tests/phpunit/includes/filerepo/ThumbnailEntryPointTest.php index b5b401348b28..6d8edeb5c999 100644 --- a/tests/phpunit/includes/filerepo/ThumbnailEntryPointTest.php +++ b/tests/phpunit/includes/filerepo/ThumbnailEntryPointTest.php @@ -52,7 +52,7 @@ class ThumbnailEntryPointTest extends MediaWikiIntegrationTestCase { $history = $file->getHistory(); $oldFile = $history[0]; - $this->db->newUpdateQueryBuilder() + $this->getDb()->newUpdateQueryBuilder() ->table( 'oldimage' ) ->set( [ 'oi_deleted' => 1 ] ) ->where( [ 'oi_archive_name' => $oldFile->getArchiveName() ] ) |