public function WebformExampleFunctionalTest::testGet in Webform 6.x
Same name and namespace in other branches
- 8.5 tests/src/Functional/WebformExampleFunctionalTest.php \Drupal\Tests\webform\Functional\WebformExampleFunctionalTest::testGet()
Test get.
File
- tests/
src/ Functional/ WebformExampleFunctionalTest.php, line 20
Class
- WebformExampleFunctionalTest
- Example of webform browser test.
Namespace
Drupal\Tests\webform\FunctionalCode
public function testGet() {
$this
->drupalGet('/webform/contact');
$this
->verbose('hi');
$this
->assertSession()
->responseContains('Contact');
}