protected function TableValueFieldTest::setUp in TableField 8.2
Overrides BrowserTestBase::setUp
File
- tests/
src/ Functional/ TableValueFieldTest.php, line 29
Class
- TableValueFieldTest
- Simple test to ensure that a field can be created.
Namespace
Drupal\Tests\tablefield\FunctionalCode
protected function setUp() {
parent::setUp();
$this
->drupalLogin($this->rootUser);
$this
->drupalCreateContentType([
'type' => 'article',
'name' => 'Article',
]);
$this
->createTableField('field_table', 'article');
}