function EntityRevisionParamConverterTest::testNonApplyingRoute
Same name and namespace in other branches
- 11.x core/tests/Drupal/Tests/Core/ParamConverter/EntityRevisionParamConverterTest.php \Drupal\Tests\Core\ParamConverter\EntityRevisionParamConverterTest::testNonApplyingRoute()
- 10 core/tests/Drupal/Tests/Core/ParamConverter/EntityRevisionParamConverterTest.php \Drupal\Tests\Core\ParamConverter\EntityRevisionParamConverterTest::testNonApplyingRoute()
- 9 core/tests/Drupal/Tests/Core/ParamConverter/EntityRevisionParamConverterTest.php \Drupal\Tests\Core\ParamConverter\EntityRevisionParamConverterTest::testNonApplyingRoute()
- 8.9.x core/tests/Drupal/Tests/Core/ParamConverter/EntityRevisionParamConverterTest.php \Drupal\Tests\Core\ParamConverter\EntityRevisionParamConverterTest::testNonApplyingRoute()
Tests non applying route.
@legacy-covers ::applies
File
-
core/
tests/ Drupal/ Tests/ Core/ ParamConverter/ EntityRevisionParamConverterTest.php, line 60
Class
Namespace
Drupal\Tests\Core\ParamConverterCode
public function testNonApplyingRoute() : void {
$route = new Route('/test');
$this->assertFalse($this->converter
->applies([], 'test_revision', $route));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.