You are here

public function LinkTypeFieldEntryTest::testCreateFieldEntryFlag in Flag 8.4

Create a new flag with the Field Entry type, and add fields.

File

tests/src/Functional/LinkTypeFieldEntryTest.php, line 52

Class

LinkTypeFieldEntryTest
Test the Field Entry link type.

Namespace

Drupal\Tests\flag\Functional

Code

public function testCreateFieldEntryFlag() {
  $this
    ->drupalLogin($this->adminUser);
  $this
    ->doCreateFlag();
  $this
    ->doAddFields();
  $this
    ->doFlagNode();
  $this
    ->doEditFlagField();
  $this
    ->doBadEditFlagField();
  $this
    ->doUnflagNode();
}