You are here

protected function FormOptionsAttributesTest::setUp in Form Options Attributes 2.0.x

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

Overrides BrowserTestBase::setUp

File

tests/modules/form_options_attributes_test/src/Tests/FormOptionsAttributesTest.php, line 28

Class

FormOptionsAttributesTest
Tests the #options_attributes functionality of select, checkboxes, and radios.

Namespace

Drupal\form_options_attributes_test\Tests

Code

protected function setUp() {
  parent::setUp();

  // Create test user.
  $user = $this
    ->drupalCreateUser();
  $this
    ->drupalLogin($user);
}