You are here

public function SimpletestPhpunitBrowserTest::testOutput in Drupal 8

Dummy test that logs the visited front page for HTML output.

File

core/modules/simpletest/tests/fixtures/simpletest_phpunit_browsertest.php, line 21

Class

SimpletestPhpunitBrowserTest
A PHPUnit-based browser test that will be run from Simpletest.

Namespace

Drupal\Tests\simpletest\Functional

Code

public function testOutput() {
  $this
    ->drupalGet('<front>');
  $this
    ->assertSession()
    ->responseContains('<h2>TEST escaping</h2>');
}