function FieldExampleMenuTest::testBlockExampleMenu
Same name in other branches
- 8.x-1.x field_example/tests/src/Functional/FieldExampleMenuTest.php \Drupal\Tests\field_example\Functional\FieldExampleMenuTest::testBlockExampleMenu()
- 4.0.x modules/field_example/tests/src/Functional/FieldExampleMenuTest.php \Drupal\Tests\field_example\Functional\FieldExampleMenuTest::testBlockExampleMenu()
Tests field_example menus.
File
-
modules/
field_example/ tests/ src/ Functional/ FieldExampleMenuTest.php, line 43
Class
- FieldExampleMenuTest
- Test the user-facing menus in Field Example.
Namespace
Drupal\Tests\field_example\FunctionalCode
public function testBlockExampleMenu() {
$assert = $this->assertSession();
$this->drupalGet('examples/field-example');
$assert->statusCodeEquals(200);
}