function RoutesTest::testRoutes
Ensures that the expected routes are created or not created.
Attributes
#[DataProvider('expectedRoutes')]
File
-
core/
modules/ jsonapi/ tests/ src/ Unit/ Routing/ RoutesTest.php, line 204
Class
Namespace
Drupal\Tests\jsonapi\Unit\RoutingCode
public function testRoutes($route) : void {
$this->assertArrayHasKey($route, $this->routes['ok']
->routes()
->all());
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.