You are here

public function LinkHtmlTest::testHtmlLink in Flag 8.4

Tests use of HTML in the flag and unflag links.

File

tests/src/Functional/LinkHtmlTest.php, line 25

Class

LinkHtmlTest
Tests use of HTML in the flag and unflag links.

Namespace

Drupal\Tests\flag\Functional

Code

public function testHtmlLink() {

  // Create and log in our user.
  $this->adminUser = $this
    ->drupalCreateUser([
    'administer flags',
  ]);
  $this
    ->drupalLogin($this->adminUser);
  $this
    ->doCreateHtmlFlag();
  $this
    ->doFlagNode();
}