diff --git a/core/scripts/run-tests.sh b/core/scripts/run-tests.sh
index 7ab79e1177e4c5cbb9ebe05fa9e8985222c30347..008ec309938d722ca804438a2b94127fccb7961a 100644
--- a/core/scripts/run-tests.sh
+++ b/core/scripts/run-tests.sh
@@ -13,6 +13,7 @@
 use Drupal\Core\Asset\AttachedAssets;
 use Drupal\Core\Database\Database;
 use Drupal\Core\File\Exception\FileException;
+use Drupal\Core\File\FileSystemInterface;
 use Drupal\Core\StreamWrapper\PublicStream;
 use Drupal\Core\Test\TestDatabase;
 use Drupal\Core\Test\TestRunnerKernel;