You are here

protected function CourierGlobalCollectionInvalidTemplateTest::setUp in Courier 2.x

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

Overrides KernelTestBase::setUp

File

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

Class

CourierGlobalCollectionInvalidTemplateTest
Tests Courier global template collections with invalid template types.

Namespace

Drupal\Tests\courier\Kernel

Code

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