protected function DrushCommandsTest::setUp in Site Alert 8
Overrides BrowserTestBase::setUp
File
- tests/
src/ Functional/ DrushCommandsTest.php, line 39
Class
- DrushCommandsTest
- Execute drush commands on site_alert.
Namespace
Drupal\Tests\site_alert\FunctionalCode
protected function setUp() : void {
parent::setUp();
$entity_type_manager = $this->container
->get('entity_type.manager');
$this->siteAlertStorage = $entity_type_manager
->getStorage('site_alert');
}