You are here

protected function CliCommandsTest::setUp in Site Alert 8

Overrides SiteAlertKernelTestBase::setUp

File

tests/src/Kernel/CliCommandsTest.php, line 36

Class

CliCommandsTest
Tests for the site alert CLI Commands service.

Namespace

Drupal\Tests\site_alert\Kernel

Code

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