You are here

protected function BreakpointDiscoveryTest::setUp in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/breakpoint/src/Tests/BreakpointDiscoveryTest.php \Drupal\breakpoint\Tests\BreakpointDiscoveryTest::setUp()

Performs setup tasks before each individual test method is run.

Overrides KernelTestBase::setUp

File

core/modules/breakpoint/src/Tests/BreakpointDiscoveryTest.php, line 25
Contains \Drupal\breakpoint\Tests\BreakpointDiscoveryTest.

Class

BreakpointDiscoveryTest
Tests discovery of breakpoints provided by themes and modules.

Namespace

Drupal\breakpoint\Tests

Code

protected function setUp() {
  parent::setUp();
  $this
    ->installSchema('system', array(
    'router',
  ));
  \Drupal::service('theme_handler')
    ->install(array(
    'breakpoint_theme_test',
  ));
}