You are here

protected function SiteAlertStorageTest::setUp in Site Alert 8

Overrides SiteAlertKernelTestBase::setUp

File

tests/src/Kernel/SiteAlertStorageTest.php, line 25

Class

SiteAlertStorageTest
Tests for the site alert entity storage handler.

Namespace

Drupal\Tests\site_alert\Kernel

Code

protected function setUp() {
  parent::setUp();
  $this->siteAlertStorage = $this->entityTypeManager
    ->getStorage('site_alert');
}