aboutsummaryrefslogtreecommitdiffstats
path: root/tests/phpunit/includes/filerepo/file/LocalFileTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/phpunit/includes/filerepo/file/LocalFileTest.php')
-rw-r--r--tests/phpunit/includes/filerepo/file/LocalFileTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/phpunit/includes/filerepo/file/LocalFileTest.php b/tests/phpunit/includes/filerepo/file/LocalFileTest.php
index 2f1d68cefa43..4d043a9dfcac 100644
--- a/tests/phpunit/includes/filerepo/file/LocalFileTest.php
+++ b/tests/phpunit/includes/filerepo/file/LocalFileTest.php
@@ -654,7 +654,7 @@ class LocalFileTest extends MediaWikiIntegrationTestCase {
// Make sure we were actually hitting the WAN cache
$dbw->newDeleteQueryBuilder()
- ->delete( 'image' )
+ ->deleteFrom( 'image' )
->where( [ 'img_name' => 'Random-11m.png' ] )
->caller( __METHOD__ )->execute();
$file->invalidateCache();