You are here

public function UpdatePathTestBase::__construct in Drupal 8

Same name in this branch
  1. 8 core/tests/Drupal/FunctionalTests/Update/UpdatePathTestBase.php \Drupal\FunctionalTests\Update\UpdatePathTestBase::__construct()
  2. 8 core/modules/system/src/Tests/Update/UpdatePathTestBase.php \Drupal\system\Tests\Update\UpdatePathTestBase::__construct()

Constructs an UpdatePathTestCase object.

Parameters

$test_id: (optional) The ID of the test. Tests with the same id are reported together.

Overrides WebTestBase::__construct

File

core/modules/system/src/Tests/Update/UpdatePathTestBase.php, line 141

Class

UpdatePathTestBase
Provides a base class for writing an update test.

Namespace

Drupal\system\Tests\Update

Code

public function __construct($test_id = NULL) {
  parent::__construct($test_id);
  $this->zlibInstalled = function_exists('gzopen');
}