You are here

protected function MonitoringCoreKernelTest::setUp in Monitoring 8

Overrides MonitoringUnitTestBase::setUp

File

tests/src/Kernel/MonitoringCoreKernelTest.php, line 31

Class

MonitoringCoreKernelTest
Kernel tests for the core pieces of monitoring.

Namespace

Drupal\Tests\monitoring\Kernel

Code

protected function setUp() {
  parent::setUp();
  $this
    ->installSchema('dblog', [
    'watchdog',
  ]);
  $this
    ->installConfig(array(
    'system',
  ));
  \Drupal::moduleHandler()
    ->loadAllIncludes('install');
  monitoring_install();
}