protected function CourierManagerTest::setUp in Courier 8
Same name and namespace in other branches
- 2.x tests/src/Kernel/CourierManagerTest.php \Drupal\Tests\courier\Kernel\CourierManagerTest::setUp()
Overrides KernelTestBase::setUp
File
- tests/
src/ Kernel/ CourierManagerTest.php, line 29
Class
- CourierManagerTest
- Tests Courier manager.
Namespace
Drupal\Tests\courier\KernelCode
protected function setUp() {
parent::setUp();
$this
->installConfig([
'courier',
]);
$this
->installEntitySchema('courier_message_queue_item');
$this
->installEntitySchema('courier_template_collection');
$this
->installEntitySchema('courier_email');
$this
->installEntitySchema('courier_test_message');
$this
->installEntitySchema('user');
$this
->installSchema('system', [
'queue',
]);
$this->courierManager = $this->container
->get('courier.manager');
}