function AreaOrderTest::setUpFixtures
Sets up the configuration and schema of views and views_test_data modules.
Because the schema of views_test_data.module is dependent on the test using it, it cannot be enabled normally.
Overrides ViewsKernelTestBase::setUpFixtures
File
- 
              core/
modules/ views/ tests/ src/ Kernel/ Handler/ AreaOrderTest.php, line 39  
Class
- AreaOrderTest
 - Tests the view area handler.
 
Namespace
Drupal\Tests\views\Kernel\HandlerCode
protected function setUpFixtures() : void {
  // Install the themes used for this test.
  $this->container
    ->get('theme_installer')
    ->install([
    'olivero',
  ]);
  $this->placeBlock('system_branding_block', [
    'id' => 'id_olivero_branding',
    'theme' => 'olivero',
    'plugin' => 'system_branding_block',
    'weight' => 1,
  ]);
  $this->placeBlock('system_powered_by_block', [
    'id' => 'id_olivero_powered',
    'theme' => 'olivero',
    'weight' => 2,
  ]);
  parent::setUpFixtures();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.