function AnnounceTestBase::setUp

Same name in other branches
  1. 10 core/modules/announcements_feed/tests/src/Kernel/AnnounceTestBase.php \Drupal\Tests\announcements_feed\Kernel\AnnounceTestBase::setUp()

Overrides KernelTestBase::setUp

2 calls to AnnounceTestBase::setUp()
AnnounceFetcherTest::setUp in core/modules/announcements_feed/tests/src/Kernel/AnnounceFetcherTest.php
AnnounceFetcherUserTest::setUp in core/modules/announcements_feed/tests/src/Kernel/AnnounceFetcherUserTest.php
2 methods override AnnounceTestBase::setUp()
AnnounceFetcherTest::setUp in core/modules/announcements_feed/tests/src/Kernel/AnnounceFetcherTest.php
AnnounceFetcherUserTest::setUp in core/modules/announcements_feed/tests/src/Kernel/AnnounceFetcherUserTest.php

File

core/modules/announcements_feed/tests/src/Kernel/AnnounceTestBase.php, line 38

Class

AnnounceTestBase
Base class for Announce Kernel tests.

Namespace

Drupal\Tests\announcements_feed\Kernel

Code

protected function setUp() : void {
    parent::setUp();
    $this->installConfig('system');
    $this->installConfig([
        'user',
    ]);
}

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