You are here

public function MessageSubscribeEmailNotificationsTest::setUp in Message Subscribe 8

Overrides MessageSubscribeEmailTestBase::setUp

File

message_subscribe_email/tests/src/Kernel/MessageSubscribeEmailNotificationsTest.php, line 18

Class

MessageSubscribeEmailNotificationsTest
Test automatic email notification flagging.

Namespace

Drupal\Tests\message_subscribe_email\Kernel

Code

public function setUp() {
  parent::setUp();
  $flag = $this->flagService
    ->getFlagById('subscribe_node');
  $this->flagService
    ->flag($flag, $this->nodes[1], $this->users[1]);
}