public function PageTest::testBuildBasicRenderableWithMissingRoute in Drupal 10
Same name and namespace in other branches
- 8 core/modules/views/tests/src/Unit/Plugin/display/PageTest.php \Drupal\Tests\views\Unit\Plugin\display\PageTest::testBuildBasicRenderableWithMissingRoute()
- 9 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 34
Class
- PageTest
- @coversDefaultClass \Drupal\views\Plugin\views\display\Page @group views
Namespace
Drupal\Tests\views\Unit\Plugin\displayCode
public function testBuildBasicRenderableWithMissingRoute() {
$this
->expectException(\BadFunctionCallException::class);
Page::buildBasicRenderable('test_view', 'page_1', []);
}