Update core 8.3.0
This commit is contained in:
parent
da7a7918f8
commit
cd7a898e66
6144 changed files with 132297 additions and 87747 deletions
24
web/core/modules/simpletest/tests/fixtures/simpletest_phpunit_browsertest.php
vendored
Normal file
24
web/core/modules/simpletest/tests/fixtures/simpletest_phpunit_browsertest.php
vendored
Normal file
|
@ -0,0 +1,24 @@
|
|||
<?php
|
||||
|
||||
namespace Drupal\Tests\simpletest\Functional;
|
||||
|
||||
use Drupal\Tests\BrowserTestBase;
|
||||
|
||||
/**
|
||||
* A PHPUnit-based browser test that will be run from Simpletest.
|
||||
*
|
||||
* To avoid accidentally running it is not in a normal PSR-4 directory.
|
||||
*
|
||||
* @group simpletest
|
||||
*/
|
||||
class SimpletestPhpunitBrowserTest extends BrowserTestBase {
|
||||
|
||||
/**
|
||||
* Dummy test that logs the visited front page for HTML output.
|
||||
*/
|
||||
public function testOutput() {
|
||||
$this->drupalGet('<front>');
|
||||
$this->assertSession()->responseContains('<h2>TEST escaping</h2>');
|
||||
}
|
||||
|
||||
}
|
Reference in a new issue