function InstallerTranslationDownloadTest::setUp

Same name and namespace in other branches
  1. main core/tests/Drupal/KernelTests/Core/Installer/InstallerTranslationDownloadTest.php \Drupal\KernelTests\Core\Installer\InstallerTranslationDownloadTest::setUp()

Overrides KernelTestBase::setUp

File

core/tests/Drupal/KernelTests/Core/Installer/InstallerTranslationDownloadTest.php, line 66

Class

InstallerTranslationDownloadTest
Tests that profile translations are downloaded by the installer.

Namespace

Drupal\KernelTests\Core\Installer

Code

protected function setUp() : void {
  parent::setUp();
  // We will be calling installer functions directly.
  require_once 'core/includes/install.core.inc';
  // We need to restore the error handler before tearDown, or the testing
  // system will yell at us.
  $this->errorHandler = get_error_handler();
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.