protected function EntityReferenceTest::setUp in Reference Table Formatter 8
Same name and namespace in other branches
- 2.0.x tests/src/Kernel/EntityReferenceTest.php \Drupal\Tests\reference_table_formatter\Kernel\EntityReferenceTest::setUp()
Overrides EntityKernelTestBase::setUp
File
- tests/
src/ Kernel/ EntityReferenceTest.php, line 38
Class
- EntityReferenceTest
- Tests the entity reference table formatter.
Namespace
Drupal\Tests\reference_table_formatter\KernelCode
protected function setUp() {
parent::setUp();
$this
->drupalSetCurrentUser($this
->drupalCreateUser([], NULL, TRUE));
$this->renderer = $this->container
->get('renderer');
}