public function FieldExampleMenuTest::testBlockExampleMenu in Examples for Developers 3.x
Same name and namespace in other branches
- 8 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);
}