You are here

protected function CourierGlobalCollectionTest::setUp in Courier 2.x

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

Overrides KernelTestBase::setUp

File

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

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');
}