public function VerticalTabsExampleTestCase::testVerticalTabsExampleMenus in Examples for Developers 7
Tests the menu paths defined in vertical_tabs_example module.
File
- vertical_tabs_example/
vertical_tabs_example.test, line 36 - Test file for vertical_tabs_example module.
Class
- VerticalTabsExampleTestCase
- Default test case for the vertical_tabs_example module.
Code
public function testVerticalTabsExampleMenus() {
$paths = array(
'examples/vertical_tabs',
);
foreach ($paths as $path) {
$this
->drupalGet($path);
$this
->assertResponse(200, '200 response for path: ' . $path);
}
}