You are here

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\Kernel

Code

protected function setUp() {
  parent::setUp();
  $this->getAlerts = $this->container
    ->get('site_alert.get_alerts');
}