function ModuleConfigureRouteTest::testModuleConfigureRoutes

Same name in other branches
  1. 9 core/tests/Drupal/KernelTests/Core/Extension/ModuleConfigureRouteTest.php \Drupal\KernelTests\Core\Extension\ModuleConfigureRouteTest::testModuleConfigureRoutes()
  2. 8.9.x core/tests/Drupal/KernelTests/Core/Extension/ModuleConfigureRouteTest.php \Drupal\KernelTests\Core\Extension\ModuleConfigureRouteTest::testModuleConfigureRoutes()
  3. 10 core/tests/Drupal/KernelTests/Core/Extension/ModuleConfigureRouteTest.php \Drupal\KernelTests\Core\Extension\ModuleConfigureRouteTest::testModuleConfigureRoutes()

Tests if the module configure routes exists.

File

core/tests/Drupal/KernelTests/Core/Extension/ModuleConfigureRouteTest.php, line 51

Class

ModuleConfigureRouteTest
Tests the configure route for core modules.

Namespace

Drupal\KernelTests\Core\Extension

Code

public function testModuleConfigureRoutes() : void {
    foreach (static::coreModuleListDataProvider() as $module_name => $info) {
        $this->doTestModuleConfigureRoutes($module_name);
    }
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.