Test file for js_example module.
<?php /** * @file * Test file for js_example module. */ /** * Default test case for the js_example module. * * @ingroup js_example */ class JsExampleTestCase extends BackdropWebTestCase { /** * {@inheritdoc} */ public function setUp() { parent::setUp('js_example'); } /** * Tests the menu paths defined in js_example module. */ public function testJsExampleMenus() { $paths = array( 'js_example/weights', 'js_example/accordion', ); foreach ($paths as $path) { $this->backdropGet($path); $this->assertResponse(200, '200 response for path: ' . $path); } } }