You are here

protected function CourierGlobalCollectionTest::setUp in Courier 8

Same name and namespace in other branches
  1. 2.x tests/src/Kernel/CourierGlobalCollectionTest.php \Drupal\Tests\courier\Kernel\CourierGlobalCollectionTest::setUp()

Overrides KernelTestBase::setUp

File

tests/src/Kernel/CourierGlobalCollectionTest.php, line 26

Class

CourierGlobalCollectionTest
Tests Courier global template collections interaction with local templates.

Namespace

Drupal\Tests\courier\Kernel

Code

protected function setUp() {
  parent::setUp();
  $this
    ->installEntitySchema('courier_template_collection');
  $this
    ->installEntitySchema('courier_test_message');
  $this
    ->installEntitySchema('courier_email');
  $this
    ->installEntitySchema('user');
  $this->gtcService = $this->container
    ->get('courier.manager.global_template_collection');
}