protected function GetAlertsTest::setUp in Site Alert 8
Overrides SiteAlertKernelTestBase::setUp
File
- tests/
src/ Kernel/ GetAlertsTest.php, line 23
Class
- GetAlertsTest
- Tests retrieving of currently active alerts.
Namespace
Drupal\Tests\site_alert\KernelCode
protected function setUp() {
parent::setUp();
$this->getAlerts = $this->container
->get('site_alert.get_alerts');
}