You are here

public function TabledragExampleTestCase::testTabledragExampleMenus in Examples for Developers 7

Tests the menu paths defined in tabledrag_example module.

File

tabledrag_example/tabledrag_example.test, line 36
Test file for tabledrag_example module.

Class

TabledragExampleTestCase
Default test case for the tabledrag_example module.

Code

public function testTabledragExampleMenus() {
  $paths = array(
    'examples/tabledrag_example_simple',
    'examples/tabledrag_example_parent',
  );
  foreach ($paths as $path) {
    $this
      ->drupalGet($path);
    $this
      ->assertResponse(200, '200 response for path: ' . $path);
  }
}