diff --git a/core/lib/Drupal/Core/Test/FunctionalTestSetupTrait.php b/core/lib/Drupal/Core/Test/FunctionalTestSetupTrait.php index c481b8b15e0ae369947db78e0607798aa0786435..2afdbdc276c54e4bf535401f6741d5e441ffbe89 100644 --- a/core/lib/Drupal/Core/Test/FunctionalTestSetupTrait.php +++ b/core/lib/Drupal/Core/Test/FunctionalTestSetupTrait.php @@ -671,7 +671,6 @@ protected function prepareEnvironment() { $this->publicFilesDirectory = $this->siteDirectory . '/files'; $this->privateFilesDirectory = $this->siteDirectory . '/private'; $this->tempFilesDirectory = $this->siteDirectory . '/temp'; - $this->translationFilesDirectory = $this->siteDirectory . '/translations'; // Ensure the configImporter is refreshed for each test. $this->configImporter = NULL; diff --git a/core/tests/Drupal/TestSite/Commands/TestSiteInstallCommand.php b/core/tests/Drupal/TestSite/Commands/TestSiteInstallCommand.php index 582f395ebfbf985c82cbd4c8485e842716f940a3..cd6ab8b610f619ce4b39e81e5a7919a2d17c5a00 100644 --- a/core/tests/Drupal/TestSite/Commands/TestSiteInstallCommand.php +++ b/core/tests/Drupal/TestSite/Commands/TestSiteInstallCommand.php @@ -51,12 +51,6 @@ class TestSiteInstallCommand extends Command { */ protected array $originalShutdownCallbacks = []; - /** - * The translation file directory for the test environment. - * - * This is set in BrowserTestBase::prepareEnvironment(). - */ - protected string $translationFilesDirectory; /** * The config importer that can be used in a test. diff --git a/core/tests/Drupal/Tests/BrowserTestBase.php b/core/tests/Drupal/Tests/BrowserTestBase.php index bb504266871811decd2afec07a239629464ec057..dbad4cecb5f7fe5ef4797d164d058f364f4ae67e 100644 --- a/core/tests/Drupal/Tests/BrowserTestBase.php +++ b/core/tests/Drupal/Tests/BrowserTestBase.php @@ -85,14 +85,6 @@ abstract class BrowserTestBase extends TestCase { */ protected $timeLimit = 500; - /** - * The translation file directory for the test environment. - * - * This is set in BrowserTestBase::prepareEnvironment(). - * - * @var string - */ - protected $translationFilesDirectory; /** * The config importer that can be used in a test.