public function EntityCitationRenderTest::setUp in Bibliography & Citation 8
Same name and namespace in other branches
- 2.0.x 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\KernelCode
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');
}