function PageTest::testBuildBasicRenderableWithMissingRoute
Same name in other branches
- 9 core/modules/views/tests/src/Unit/Plugin/display/PageTest.php \Drupal\Tests\views\Unit\Plugin\display\PageTest::testBuildBasicRenderableWithMissingRoute()
- 8.9.x core/modules/views/tests/src/Unit/Plugin/display/PageTest.php \Drupal\Tests\views\Unit\Plugin\display\PageTest::testBuildBasicRenderableWithMissingRoute()
- 11.x core/modules/views/tests/src/Unit/Plugin/display/PageTest.php \Drupal\Tests\views\Unit\Plugin\display\PageTest::testBuildBasicRenderableWithMissingRoute()
@covers ::buildBasicRenderable
File
-
core/
modules/ views/ tests/ src/ Unit/ Plugin/ display/ PageTest.php, line 36
Class
- PageTest
- @coversDefaultClass \Drupal\views\Plugin\views\display\Page @group views
Namespace
Drupal\Tests\views\Unit\Plugin\displayCode
public function testBuildBasicRenderableWithMissingRoute() : void {
$this->expectException(\BadFunctionCallException::class);
Page::buildBasicRenderable('test_view', 'page_1', []);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.