You are here

public function ConditionalFieldsUserTest::setUp in Conditional Fields 8

Same name and namespace in other branches
  1. 4.x tests/src/FunctionalJavascript/Entity/ConditionalFieldsUserTest.php \Drupal\Tests\conditional_fields\FunctionalJavascript\Entity\ConditionalFieldsUserTest::setUp()

Overrides ConditionalFieldTestBase::setUp

File

tests/src/FunctionalJavascript/Entity/ConditionalFieldsUserTest.php, line 48

Class

ConditionalFieldsUserTest
Test Conditional Fields check User entity.

Namespace

Drupal\Tests\conditional_fields\FunctionalJavascript\Entity

Code

public function setUp() {
  parent::setUp();
  $this
    ->addField($this->dependee, 'boolean', 'boolean_checkbox');
  $this
    ->addField($this->dependent, 'text', 'text_textfield');
}