protected function CourierGlobalCollectionTest::setUp in Courier 2.x
Same name and namespace in other branches
- 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\KernelCode
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');
}