Updated to Drupal 8.6.4, which is PHP 7.3 friendly. Also updated HTMLaw library....
[yaffs-website] / web / core / modules / simpletest / tests / fixtures / simpletest_phpunit_browsertest.php
1 <?php
2
3 namespace Drupal\Tests\simpletest\Functional;
4
5 use Drupal\Tests\BrowserTestBase;
6
7 /**
8  * A PHPUnit-based browser test that will be run from Simpletest.
9  *
10  * To avoid accidentally running it is not in a normal PSR-4 directory.
11  *
12  * @group simpletest
13  */
14 class SimpletestPhpunitBrowserTest extends BrowserTestBase {
15
16   /**
17    * Dummy test that logs the visited front page for HTML output.
18    */
19   public function testOutput() {
20     $this->drupalGet('<front>');
21     $this->assertSession()->responseContains('<h2>TEST escaping</h2>');
22   }
23
24 }