You are here

function KernelTestBase::__construct in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 core/modules/simpletest/src/KernelTestBase.php \Drupal\simpletest\KernelTestBase::__construct()

Constructor for Test.

Parameters

$test_id: Tests with the same id are reported together.

Overrides TestBase::__construct

File

core/modules/simpletest/src/KernelTestBase.php, line 97
Contains \Drupal\simpletest\KernelTestBase.

Class

KernelTestBase
Base class for integration tests.

Namespace

Drupal\simpletest

Code

function __construct($test_id = NULL) {
  parent::__construct($test_id);
  $this->skipClasses[__CLASS__] = TRUE;
}