You are here

protected function SecurityAdvisoriesFetcherTest::setUp in Drupal 10

Same name and namespace in other branches
  1. 9 core/modules/system/tests/src/Kernel/SecurityAdvisories/SecurityAdvisoriesFetcherTest.php \Drupal\Tests\system\Kernel\SecurityAdvisories\SecurityAdvisoriesFetcherTest::setUp()

Overrides KernelTestBase::setUp

File

core/modules/system/tests/src/Kernel/SecurityAdvisories/SecurityAdvisoriesFetcherTest.php, line 59

Class

SecurityAdvisoriesFetcherTest
@coversDefaultClass \Drupal\system\SecurityAdvisories\SecurityAdvisoriesFetcher

Namespace

Drupal\Tests\system\Kernel\SecurityAdvisories

Code

protected function setUp() : void {
  parent::setUp();
  $this
    ->installConfig('system');
  $this->container
    ->get('logger.factory')
    ->addLogger($this);
}