SearchPageValidationTest::INFRASTRUCTURE_TABLES
::testBaseRouteIsValid() reads a route, so Drupal builds the router and the menu tree. The file parsing cache carries no "cache.bin" tag, so ::register() does not move it to memory.
Overrides KernelTestBase::INFRASTRUCTURE_TABLES
File
-
core/
modules/ search/ tests/ src/ Kernel/ SearchPageValidationTest.php, line 39
Class
- SearchPageValidationTest
- Tests validation of search_page entities.
Namespace
Drupal\Tests\search\KernelCode
protected const INFRASTRUCTURE_TABLES = [
parent::INFRASTRUCTURE_TABLES,
'cache_file_parsing',
'menu_tree',
'router',
];
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.