You are here

protected function MassContactTestBase::setUp in Mass Contact 8

Same name in this branch
  1. 8 tests/src/Functional/MassContactTestBase.php \Drupal\Tests\mass_contact\Functional\MassContactTestBase::setUp()
  2. 8 tests/src/Kernel/MassContactTestBase.php \Drupal\Tests\mass_contact\Kernel\MassContactTestBase::setUp()

Overrides KernelTestBase::setUp

5 calls to MassContactTestBase::setUp()
CategoryAccessControlHandlerTest::setUp in tests/src/Kernel/CategoryAccessControlHandlerTest.php
MassContactCategoryTest::setUp in tests/src/Kernel/Entity/MassContactCategoryTest.php
MassContactTest::setUp in tests/src/Kernel/MassContactTest.php
OptOutTest::setUp in tests/src/Kernel/OptOutTest.php
RoleTest::setUp in tests/src/Kernel/Plugin/MassContact/GroupingMethod/RoleTest.php
5 methods override MassContactTestBase::setUp()
CategoryAccessControlHandlerTest::setUp in tests/src/Kernel/CategoryAccessControlHandlerTest.php
MassContactCategoryTest::setUp in tests/src/Kernel/Entity/MassContactCategoryTest.php
MassContactTest::setUp in tests/src/Kernel/MassContactTest.php
OptOutTest::setUp in tests/src/Kernel/OptOutTest.php
RoleTest::setUp in tests/src/Kernel/Plugin/MassContact/GroupingMethod/RoleTest.php

File

tests/src/Kernel/MassContactTestBase.php, line 20

Class

MassContactTestBase
Base test class for kernel tests for Mass Contact.

Namespace

Drupal\Tests\mass_contact\Kernel

Code

protected function setUp() {
  parent::setUp();
  $this
    ->installEntitySchema('mass_contact_category');
}