You are here

public function EntityCitationRenderTest::setUp in Bibliography & Citation 2.0.x

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

Overrides KernelTestBase::setUp

File

modules/bibcite_entity/tests/src/Kernel/EntityCitationRenderTest.php, line 41

Class

EntityCitationRenderTest
Test rendering of entity to citation.

Namespace

Drupal\Tests\bibcite_entity\Kernel

Code

public function setUp() {
  parent::setUp();
  $this
    ->installConfig([
    'user',
    'bibcite',
    'bibcite_entity',
  ]);
  $this->styler = $this->container
    ->get('bibcite.citation_styler');
  $this->serializer = $this->container
    ->get('serializer');
}