You are here

protected function OpignoCertificateTest::setUp in Opigno certificate 8

Same name and namespace in other branches
  1. 3.x tests/src/Kernel/OpignoCertificateTest.php \Drupal\Tests\opigno_certificate\Kernel\OpignoCertificateTest::setUp()

Overrides EntityKernelTestBase::setUp

File

tests/src/Kernel/OpignoCertificateTest.php, line 35

Class

OpignoCertificateTest
Tests the general behavior of opigno_certificate entities.

Namespace

Drupal\Tests\opigno_certificate\Kernel

Code

protected function setUp() {
  parent::setUp();
  $this->entityTypeManager = $this->container
    ->get('entity_type.manager');
  $this
    ->installConfig([
    'opigno_certificate_config_test',
  ]);
  $this
    ->installEntitySchema('opigno_certificate');
}