function BreakpointDiscoveryTest::setUp

Same name in other branches
  1. 8.9.x core/modules/breakpoint/tests/src/Kernel/BreakpointDiscoveryTest.php \Drupal\Tests\breakpoint\Kernel\BreakpointDiscoveryTest::setUp()
  2. 10 core/modules/breakpoint/tests/src/Kernel/BreakpointDiscoveryTest.php \Drupal\Tests\breakpoint\Kernel\BreakpointDiscoveryTest::setUp()
  3. 11.x core/modules/breakpoint/tests/src/Kernel/BreakpointDiscoveryTest.php \Drupal\Tests\breakpoint\Kernel\BreakpointDiscoveryTest::setUp()

Overrides KernelTestBase::setUp

File

core/modules/breakpoint/tests/src/Kernel/BreakpointDiscoveryTest.php, line 28

Class

BreakpointDiscoveryTest
Tests discovery of breakpoints provided by themes and modules.

Namespace

Drupal\Tests\breakpoint\Kernel

Code

protected function setUp() : void {
    parent::setUp();
    \Drupal::service('theme_installer')->install([
        'breakpoint_theme_test',
    ]);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.