You are here

public function DurationFieldBrowserTestBase::getHtml in Duration Field 3.0.x

Same name and namespace in other branches
  1. 8.2 tests/src/Functional/DurationFieldBrowserTestBase.php \Drupal\Tests\duration_field\Functional\DurationFieldBrowserTestBase::getHtml()
  2. 8 tests/src/Functional/DurationFieldBrowserTestBase.php \Drupal\Tests\duration_field\Functional\DurationFieldBrowserTestBase::getHtml()

Gets the HTML for a page.

File

tests/src/Functional/DurationFieldBrowserTestBase.php, line 137

Class

DurationFieldBrowserTestBase
Base class that provides some helper functions for functional tests.

Namespace

Drupal\Tests\duration_field\Functional

Code

public function getHtml() {
  $this
    ->assertEquals('', $this
    ->getSession()
    ->getPage()
    ->getHTML());
}